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