QueueingDispatcher

interface QueueingDispatcher implements Dispatcher (View source)

Methods

mixed dispatchFromArray(mixed $command, array $array)

Marshal a command and dispatch it to its appropriate handler.

from Dispatcher
mixed dispatchFrom(mixed $command, ArrayAccess $source, array $extras = [])

Marshal a command and dispatch it to its appropriate handler.

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

Dispatch a command to its appropriate handler.

from Dispatcher
mixed dispatchNow(mixed $command, Closure $afterResolving = null)

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

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 dispatchFromArray(mixed $command, array $array)

Marshal a command and dispatch it to its appropriate handler.

Parameters

mixed $command
array $array

Return Value

mixed

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

Marshal a command and dispatch it to its appropriate handler.

Parameters

mixed $command
ArrayAccess $source
array $extras

Return Value

mixed

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

Dispatch a command to its appropriate handler.

Parameters

mixed $command
Closure $afterResolving

Return Value

mixed

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

$this pipeThrough(array $pipes)

Set the pipes commands should be piped through before dispatching.

Parameters

array $pipes

Return Value

$this

mixed dispatchToQueue(mixed $command)

Dispatch a command to its appropriate handler behind a queue.

Parameters

mixed $command

Return Value

mixed

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Contracts/Bus/QueueingDispatcher.html