DispatchesJobs
trait DispatchesJobs (View source)
Methods
mixed | dispatch(mixed $job) Dispatch a job to its appropriate handler. | |
mixed | dispatchFromArray(mixed $job, array $array) Marshal a job and dispatch it to its appropriate handler. | |
mixed | dispatchFrom(mixed $job, ArrayAccess $source, array $extras = []) Marshal a job and dispatch it to its appropriate handler. |
Details
protected mixed dispatch(mixed $job)
Dispatch a job to its appropriate handler.
protected mixed dispatchFromArray(mixed $job, array $array)
Marshal a job and dispatch it to its appropriate handler.
protected mixed dispatchFrom(mixed $job, ArrayAccess $source, array $extras = [])
Marshal a job and dispatch it to its appropriate handler.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Foundation/Bus/DispatchesJobs.html