Dispatcher::dispatchNow()

mixed dispatchNow(mixed $command, mixed $handler = null) Dispatch a command to its appropriate handler in the current process. Parameters mixed $command mixed $handler Return Value mixed

Dispatcher::dispatchNow()

mixed dispatchNow(mixed $command, mixed $handler = null) Dispatch a command to its appropriate handler in the current process. Parameters mixed $command mixed $handler Return Value mixed

Dispatcher::dispatch()

mixed dispatch(mixed $command) Dispatch a command to its appropriate handler. Parameters mixed $command Return Value mixed

Dispatcher::dispatch()

mixed dispatch(mixed $command) Dispatch a command to its appropriate handler. Parameters mixed $command Return Value mixed

Dispatcher::createClassListener()

Closure createClassListener(mixed $listener) Create a class based listener using the IoC container. Parameters mixed $listener Return Value Closure

Dispatcher

Dispatcher class Dispatcher implements Dispatcher (View source) Methods void __construct(Container $container = null) Create a new event dispatcher instance. void listen(string|array $events, mixed $listener, int $priority) Register an event listener with the dispatcher. bool hasListeners(string $eventName) Determine if a given event has listeners. void push(string $event, array $payload = array()) Register an event and payload to be fired later. void subscribe(object|

Dispatcher

Dispatcher interface Dispatcher (View source) Methods void listen(string|array $events, mixed $listener, int $priority) Register an event listener with the dispatcher. bool hasListeners(string $eventName) Determine if a given event has listeners. void push(string $event, array $payload = array()) Register an event and payload to be fired later. void subscribe(object|string $subscriber) Register an event subscriber with the dispatcher. mixed until(string $event, array $

Dispatcher

Dispatcher interface Dispatcher (View source) Methods void send(Collection|array|mixed $notifiables, mixed $notification) Send the given notification to the given notifiable entities. void sendNow(Collection|array|mixed $notifiables, mixed $notification) Send the given notification immediately.

Dispatcher

Dispatcher interface Dispatcher (View source) Methods mixed dispatch(mixed $command) Dispatch a command to its appropriate handler. mixed dispatchNow(mixed $command, mixed $handler = null) Dispatch a command to its appropriate handler in the current process. $this pipeThrough(array $pipes) Set the pipes commands should be piped through before dispatching.

Dispatcher

Dispatcher class Dispatcher implements QueueingDispatcher (View source) Methods void __construct(Container $container, Closure $queueResolver = null) Create a new command dispatcher instance. mixed dispatch(mixed $command) Dispatch a command to its appropriate handler. mixed dispatchNow(mixed $command, mixed $handler = null) Dispatch a command to its appropriate handler in the current process. bool hasCommandHandler(mixed $command) Determine if the given command has a handl