interface QueueingDispatcher implements Dispatcher

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.

mixed
dispatchToQueue(mixed $command)

Dispatch a command to its appropriate handler behind a queue.

Details

in Dispatcher at line 13
mixed dispatch(mixed $command)

Dispatch a command to its appropriate handler.

Parameters

mixed $command

Return Value

mixed

in Dispatcher at line 22
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

in Dispatcher at line 30
$this pipeThrough(array $pipes)

Set the pipes commands should be piped through before dispatching.

Parameters

array $pipes

Return Value

$this

at line 13
mixed dispatchToQueue(mixed $command)

Dispatch a command to its appropriate handler behind a queue.

Parameters

mixed $command

Return Value

mixed