PreParsingEvent
extends EventAbstract
in package
FinalYes
Event thrown before the parsing all files.
Table of Contents
Properties
- $subject : object
- $fileCount : int
Methods
- __construct() : mixed
- Initializes this event with the given subject.
- createInstance() : self
- 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
$fileCount
private
int
$fileCount
= 0
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
selfgetFileCount()
public
getFileCount() : int
Return values
intgetSubject()
Returns the object that is the subject of this event.
public
getSubject() : object
Return values
objectsetFileCount()
public
setFileCount(int $fileCount) : self
Parameters
- $fileCount : int