Collection object for a set of Behaviours.

category phpDocumentor
package Transformer
subpackage Behaviour
author Mike van Riel
license MIT
link http://phpdoc.org

 Methods

Dispatches a logging request to log a debug message.

debug(string $message) : void
Inherited
inherited_from \phpDocumentor\Transformer\TransformerAbstract::debug()

Parameters

$message

string

The message to log.

Returns the transformer that hosts this behaviour.

getTransformer() : \phpDocumentor\Transformer\Transformer

Dispatches a logging request.

log(string $message, int $priority) : void
Inherited
inherited_from \phpDocumentor\Transformer\TransformerAbstract::log()

Parameters

$message

string

The message to log.

$priority

int

The logging priority, the lower, the more important. Ranges from 1 to 7

Executes the behaviour on the given dataset,

process(\DOMDocument $xml) : \DOMDocument

Parameters

$xml

\DOMDocument

document containing the source structure.

Returns

Sets the transformer used for this behaviour.

setTransformer(\phpDocumentor\Transformer\Transformer $transformer) : void

Parameters

$transformer

\phpDocumentor\Transformer\Transformer

Transformer responsible for output.

 Properties