W3cubDocs

/Laravel 8

DispatchesJobs

trait DispatchesJobs (View source)

Methods

mixed dispatch(mixed $job)

Dispatch a job to its appropriate handler.

mixed dispatchNow(mixed $job)

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

Details

protected mixed dispatch(mixed $job)

Dispatch a job to its appropriate handler.

Parameters

mixed $job

Return Value

mixed

mixed dispatchNow(mixed $job)

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

Parameters

mixed $job

Return Value

mixed

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Foundation/Bus/DispatchesJobs.html