\phpDocumentor\Transformer\EventPostTransformationEvent

Event that happens after each individual transformation.

Summary

Methods
Properties
Constants
setSource()
getSource()
getTransformation()
setTransformation()
__construct()
getSubject()
createInstance()
No public properties found
No constants found
No protected methods found
$source
$transformation
$subject
N/A
No private methods found
No private properties found
N/A

Properties

$source

$source : \DOMDocument

Type

\DOMDocument — remembers the XML-based AST so that it can be used from the listener

$transformation

$transformation : 

Type

$subject

$subject : object

Type

object — Represents an object that is the subject of this event

Methods

getSource()

getSource() : \DOMDocument

Returns the Abstract Syntax Tree as DOMDocument.

Returns

\DOMDocument

getTransformation()

getTransformation() : mixed

Returns

mixed

setTransformation()

setTransformation(mixed  $transformation) 

Parameters

mixed $transformation

__construct()

__construct(object  $subject) 

Initializes this event with the given subject.

Parameters

object $subject

getSubject()

getSubject() : object

Returns the object that is the subject of this event.

Returns

object

createInstance()

createInstance(object  $subject) : static

Creates a new instance of a derived object and return that.

Used as convenience method for fluent interfaces.

Parameters

object $subject

Returns

static