laravel / 10 / api / 10.x / illuminate / foundation / bus / dispatchesjobs.html

DispatchesJobs

trait DispatchesJobs (View source)

Methods

mixed dispatch(mixed $job)

Dispatch a job to its appropriate handler.

mixed dispatchSync(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 dispatchSync(mixed $job)

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

Queueable jobs will be dispatched to the "sync" queue.

Parameters

mixed $job

Return Value

mixed

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