DispatchesCommands deprecated

trait DispatchesCommands (View source)

deprecated

since version 5.1. Use the DispatchesJobs trait directly.

Traits

DispatchesJobs

Methods

mixed dispatch(mixed $job)

Dispatch a job to its appropriate handler.

from DispatchesJobs
mixed dispatchFromArray(mixed $job, array $array)

Marshal a job and dispatch it to its appropriate handler.

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

Marshal a job and dispatch it to its appropriate handler.

from DispatchesJobs

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.5/Illuminate/Foundation/Bus/DispatchesCommands.html