WriterInitializationEvent
in package
extends EventAbstract
Abstract class representing the base elements of a phpDocumentor event.
Properties
$subject inherited
protected$subject : object
- Inherited from
- \phpDocumentor\Event\EventAbstract
$writer Line 22
protected$writer : \phpDocumentor\Transformer\Writer\WriterAbstract
Methods
__construct() inherited
Initializes this event with the given subject.
public__construct(object $subject) : mixed
getSubject() inherited
Returns the object that is the subject of this event.
publicgetSubject() : object
createInstance() Line 29
Creates a new instance of a derived object and return that.
publicstaticcreateInstance(object $subject) : EventAbstract
Used as convenience method for fluent interfaces.
setWriter() Line 37
Sets the currently parsed writer in this event.
publicsetWriter(WriterAbstract $writer) : WriterInitializationEvent