\phpDocumentor\Transformer\EventWriterInitializationEvent

Abstract class representing the base elements of a phpDocumentor event.

Summary

Methods
Properties
Constants
__construct()
getSubject()
createInstance()
setWriter()
getWriter()
No public properties found
No constants found
No protected methods found
$subject
$writer
N/A
No private methods found
No private properties found
N/A

Properties

$subject

$subject : object

Type

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

Methods

__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