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