Dispatcher (Contracts)
Dispatcher
interface 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. |
Details
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Contracts/Bus/Dispatcher.html