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.

Parameters

mixed $job

Return Value

mixed

protected mixed dispatchFromArray(mixed $job, array $array)

Marshal a job and dispatch it to its appropriate handler.

Parameters

mixed $job
array $array

Return Value

mixed

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

Marshal a job and dispatch it to its appropriate handler.

Parameters

mixed $job
ArrayAccess $source
array $extras

Return Value

mixed

© 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