Generator
in package
implements
GeneratorInterface
uses
GeneratorTrait
Table of Contents
Interfaces
Properties
- $events : array<string|int, EventInterface>
- The registered events.
Methods
- releaseEvents() : array<string|int, EventInterface>
- Release all the added events.
- addEvent() : $this
- Add an event.
Properties
$events
The registered events.
protected
array<string|int, EventInterface>
$events
= []
Methods
releaseEvents()
Release all the added events.
public
releaseEvents() : array<string|int, EventInterface>
Return values
array<string|int, EventInterface>addEvent()
Add an event.
protected
addEvent(EventInterface $event) : $this
Parameters
- $event : EventInterface