W3cubDocs

/Laravel 5.2

Dispatcher

interface Dispatcher (View source)

Methods

mixed dispatch($command)

Dispatch a command to its appropriate handler.

mixed dispatchNow($command)

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.

Details

mixed dispatch($command)

Dispatch a command to its appropriate handler.

Parameters

$command

Return Value

mixed

mixed dispatchNow($command)

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

Parameters

$command

Return Value

mixed

$this pipeThrough( array $pipes)

Set the pipes commands should be piped through before dispatching.

Parameters

array $pipes

Return Value

$this

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