trait ListensToEvents (View source)

Properties

protected Closure[]> $listeners

Methods

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

No description

registerListeners(array $listeners)

No description

array
getListeners(string|null $event = null)

No description

Details

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

No description

Parameters

string $event
mixed ...$parameters

Return Value

ListensToEvents

ListensToEvents registerListeners(array $listeners)

No description

Parameters

array $listeners

Return Value

ListensToEvents

array getListeners(string|null $event = null)

No description

Parameters

string|null $event

Return Value

array