JobLifecycleCallbacks
interface JobLifecycleCallbacks
Methods
beforeReleasing(Closure $callback)
Register a callback to run before the job becomes available for another attempt.
Details
at line 16
JobLifecycleCallbacks
beforeReleasing(Closure $callback)
Register a callback to run before the job becomes available for another attempt.
The release must not proceed if a callback throws.
at line 23
JobLifecycleCallbacks
beforeFailing(Closure $callback)
Register a callback to run before the job is recorded as failed.
The failure must not be published if a callback throws.