PreTransformEvent

in package
extends EventAbstract

Event that happens prior to the execution of all transformations.

Properties

protected$subject  : object                

private$project  : \phpDocumentor\Descriptor\ProjectDescriptor                

Methods

Initializes this event with the given subject.

public__construct(object $subject) : mixed

Parameters

$subject : object

Returns

mixed

Returns the object that is the subject of this event.

publicgetSubject() : object

Returns

object

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

publicstaticcreateInstance(object $subject) : EventAbstract

Used as convenience method for fluent interfaces.

Parameters

$subject : object

Returns

EventAbstract

Returns the descriptor describing the project.

publicgetProject() : ProjectDescriptor|null

Returns

ProjectDescriptor|null

Returns the descriptor describing the project.

publicsetProject(ProjectDescriptor $project) : $this

Parameters

$project : ProjectDescriptor

Returns

$this