phpDocumentor

PreParsingEvent extends EventAbstract
in package

Event thrown before the parsing all files.

Table of Contents

$subject  : object
$fileCount  : int
__construct()  : mixed
Initializes this event with the given subject.
createInstance()  : EventAbstract
Creates a new instance of a derived object and return that.
getFileCount()  : int
getSubject()  : object
Returns the object that is the subject of this event.
setFileCount()  : self

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
Return values
mixed

createInstance()

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

public static createInstance(object $subject) : EventAbstract

Used as convenience method for fluent interfaces.

Parameters
$subject : object
Return values
EventAbstract

getSubject()

Returns the object that is the subject of this event.

public getSubject() : object
Return values
object

setFileCount()

public setFileCount(int $fileCount) : self
Parameters
$fileCount : int
Return values
self

Search results