PreFileEvent
in package
extends EventAbstract
Event thrown before the parsing of an individual file.
Properties
$subject inherited
protected$subject : object
- Inherited from
- \phpDocumentor\Event\EventAbstract
$file Line 24
protected$file : string
Methods
__construct() inherited
Initializes this event with the given subject.
public__construct(object $subject) : mixed
getSubject() inherited
Returns the object that is the subject of this event.
publicgetSubject() : object
createInstance() Line 33
Creates a new instance of a derived object and return that.
publicstaticcreateInstance(object $subject) : self
Used as convenience method for fluent interfaces.
Parameters
Returns
self —
setFile() Line 41
Sets the name of the file that is about to be processed.
publicsetFile(string $file) : self
Parameters
Returns
self —
getFile() Line 51
Returns the name of the file that is about to be processed.
publicgetFile() : string