trait EventGeneratorTrait
Raise a new event.
Return and reset all pending events.
raise(mixed $event)
array releaseEvents()