[ Index ]

PHP Cross Reference of DokuWiki

title

Body

[close]

/inc/Parsing/Handler/ -> ReWriterInterface.php (summary)

(no description)

File Size: 29 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ReWriterInterface:: (2 methods):
  __construct()
  process()


Interface: ReWriterInterface  - X-Ref

A ReWriter takes over from the orignal call writer and handles all new calls itself until
the process method is called and control is given back to the original writer.

__construct(CallWriterInterface $callWriter)   X-Ref
ReWriterInterface constructor.

This rewriter will be registered as the new call writer in the Handler.
The original is passed as parameter

param: CallWriterInterface $callWriter the original callwriter

process()   X-Ref
Process any calls that have been added and add them to the
original call writer

return: CallWriterInterface the orignal call writer