WriterInitializationEvent

Extends \phpDocumentor\Event\EventAbstract

Abstract class representing the base elements of a phpDocumentor event.

package

Default

Methods

Initializes this event with the given subject.

__construct(object $subject) 
inherited

Arguments

$subject

object

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

createInstance(object $subject) : static
inherited static

Used as convenience method for fluent interfaces.

Arguments

$subject

object

Response

static

Returns the object that is the subject of this event.

getSubject() : object
inherited

Response

object

Returns the event that is currently being parsed.

getWriter() : \phpDocumentor\Transformer\Writer\WriterAbstract

Sets the currently parsed writer in this event.

setWriter(\phpDocumentor\Transformer\Writer\WriterAbstract $writer) : $this

Arguments

Response

$this

Properties

writer

writer : \phpDocumentor\Transformer\Writer\WriterAbstract

Represents an object that is the subject of this event

subject : object
inherited
var

Represents an object that is the subject of this event

Type(s)

object