QueueingDispatcher
interface QueueingDispatcher implements Dispatcher (View source)
Methods
mixed
dispatchSync(mixed $command, mixed $handler = null)
Dispatch a command to its appropriate handler in the current process.
from
Dispatcher
mixed
dispatchNow(mixed $command, mixed $handler = null)
Dispatch a command to its appropriate handler in the current process.
from
Dispatcher
bool
hasCommandHandler(mixed $command)
Determine if the given command has a handler.
from
Dispatcher
$this
pipeThrough(array $pipes)
Set the pipes commands should be piped through before dispatching.
from
Dispatcher
mixed
dispatchToQueue(mixed $command)
Dispatch a command to its appropriate handler behind a queue.
Details
mixed
dispatchSync(mixed $command, mixed $handler = null)
Dispatch a command to its appropriate handler in the current process.
Queueable jobs will be dispatched to the "sync" queue.
mixed
dispatchNow(mixed $command, mixed $handler = null)
Dispatch a command to its appropriate handler in the current process.