Method |
Description |
|
createClassListener ( mixed $listener ) : Closure |
Create a class based listener using the IoC container. |
|
fire ( string | object $event, mixed $payload = [], boolean $halt = false ) : array | null |
Fire an event and call the listeners. |
|
firing ( ) : string |
Get the event that is currently firing. |
|
flush ( string $event ) : void |
Flush a set of pushed events. |
|
forget ( string $event ) : void |
Remove a set of listeners from the dispatcher. |
|
forgetPushed ( ) : void |
Forget all of the pushed listeners. |
|
getListeners ( string $eventName ) : array |
Get all of the listeners for a given event name. |
|
hasListeners ( string $eventName ) : boolean |
Determine if a given event has listeners. |
|
listen ( string | array $events, mixed $listener, integer $priority ) : void |
Register an event listener with the dispatcher. |
|
makeListener ( mixed $listener ) : mixed |
Register an event listener with the dispatcher. |
|
push ( string $event, array $payload = [] ) : void |
Register an event and payload to be fired later. |
|
setQueueResolver ( callable $resolver ) |
Set the queue resolver implementation. |
|
subscribe ( object | string $subscriber ) : void |
Register an event subscriber with the dispatcher. |
|
until ( string | object $event, array $payload = [] ) : mixed |
Fire an event until the first non-null response is returned. |
|