phpDocumentor

EventAbstract extends Event
in package

AbstractYes

Abstract class representing the base elements of a phpDocumentor event.

Table of Contents

Properties

$subject  : object

Methods

__construct()  : mixed
Initializes this event with the given subject.
createInstance()  : self
getSubject()  : object
Returns the object that is the subject of this event.

Properties

$subject

protected object $subject

Represents an object that is the subject of this event

Methods

__construct()

Initializes this event with the given subject.

public __construct(object $subject) : mixed
Parameters
$subject : object

createInstance()

public abstract static createInstance(object $subject) : self
Parameters
$subject : object
Return values
self

getSubject()

Returns the object that is the subject of this event.

public getSubject() : object
Return values
object

        
On this page

Search results