interface QueueingDispatcher implements Dispatcher (View source)

Methods

mixed
dispatchFromArray( mixed $command, array $array)

Marshal a command and dispatch it to its appropriate handler.

mixed
dispatchFrom( mixed $command, ArrayAccess $source, array $extras = array())

Marshal a command and dispatch it to its appropriate handler.

mixed
dispatch( mixed $command, Closure $afterResolving = null)

Dispatch a command to its appropriate handler.

mixed
dispatchNow( mixed $command, Closure $afterResolving = 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 line 17
mixed dispatchFromArray( mixed $command, array $array)

Marshal a command and dispatch it to its appropriate handler.

Parameters

mixed $command
array $array

Return Value

mixed

in Dispatcher at line line 27
mixed dispatchFrom( mixed $command, ArrayAccess $source, array $extras = array())

Marshal a command and dispatch it to its appropriate handler.

Parameters

mixed $command
ArrayAccess $source
array $extras

Return Value

mixed

in Dispatcher at line line 36
mixed dispatch( mixed $command, Closure $afterResolving = null)

Dispatch a command to its appropriate handler.

Parameters

mixed $command
Closure $afterResolving

Return Value

mixed

in Dispatcher at line line 45
mixed dispatchNow( mixed $command, Closure $afterResolving = null)

Dispatch a command to its appropriate handler in the current process.

Parameters

mixed $command
Closure $afterResolving

Return Value

mixed

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

Set the pipes commands should be piped through before dispatching.

Parameters

array $pipes

Return Value

$this

at line line 13
mixed dispatchToQueue( mixed $command)

Dispatch a command to its appropriate handler behind a queue.

Parameters

mixed $command

Return Value

mixed