On this page
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.
mixed dispatchSync(mixed $job)
Dispatch a job to its appropriate handler in the current process.
Queueable jobs will be dispatched to the "sync" queue.
© 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