trait EventGeneratorTrait

Properties

protected array $pendingEvents

Methods

raise(mixed $event)

Raise a new event.

array
releaseEvents()

Return and reset all pending events.

Details

raise(mixed $event)

Raise a new event.

Parameters

mixed $event

array releaseEvents()

Return and reset all pending events.

Return Value

array