trait DispatchesJobs (View source)

Methods

mixed
dispatch(mixed $job)

Dispatch a job to its appropriate handler.

mixed
dispatchNow(mixed $job) deprecated

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

mixed
dispatchSync(mixed $job)

Dispatch a command 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) deprecated

deprecated Will be removed in a future Laravel version.

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

Parameters

mixed $job

Return Value

mixed

mixed dispatchSync(mixed $job)

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

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

Parameters

mixed $job

Return Value

mixed