Behaviour that adds support for the return tag

category phpDocumentor
package Transformer
subpackage Behaviours
author Mike van Riel
copyright 2010-2011 Mike van Riel / Naenius. (http://www.naenius.com)
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()
inherited_from \phpDocumentor\Transformer\Behaviour\BehaviourAbstract::debug()

Parameters

$message

string

The message to log.

Returns the transformer that hosts this behaviour.

getTransformer() : \phpDocumentor\Transformer\Transformer
Inherited
inherited_from \phpDocumentor\Transformer\Behaviour\BehaviourAbstract::getTransformer()

Returns

Dispatches a logging request.

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

Parameters

$message

string

The message to log.

$priority

int

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

Find all return tags that contain 'self' or '$this' and replace those terms for the name of the current class' type.

process(\DOMDocument $xml) : \DOMDocument

Parameters

$xml

\DOMDocument

Structure source to apply behaviour onto.

Returns

Sets the transformer used for this behaviour.

setTransformer(\phpDocumentor\Transformer\Transformer $transformer) : void
Inherited
inherited_from \phpDocumentor\Transformer\Behaviour\BehaviourAbstract::setTransformer()

Parameters

$transformer

\phpDocumentor\Transformer\Transformer

Transformer responsible for output.

 Properties

 

$transformer : \phpDocumentor\Transformer\Transformer
Inherited
inherited_from \phpDocumentor\Transformer\Behaviour\BehaviourAbstract::$$transformer