trait ListensToEvents (View source)

Properties

protected array $listeners

Methods

dispatchEvent(string $event, ...$parameters)

No description

registerListeners(array $listeners)

No description

array
getListeners(string $event = null)

No description

Details

ListensToEvents dispatchEvent(string $event, ...$parameters)

No description

Parameters

string $event
...$parameters

Return Value

ListensToEvents

ListensToEvents registerListeners(array $listeners)

No description

Parameters

array $listeners

Return Value

ListensToEvents

array getListeners(string $event = null)

No description

Parameters

string $event

Return Value

array