trait Illuminate / Queue / InteractsWithQueue
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.

InteractsWithQueue

Properties

public

$job Job |null

The underlying queue job instance.

Default: null

Methods

public

attempts ( ) : int

Get the number of times the job has been attempted.

public

delete ( ) : void

Delete the job from the queue.

public

fail ( $exception ) : void

Fail the job from the queue.

Parameters

public

release ( $delay ) : void

Release the job back into the queue after (n) seconds.

Parameters

public

setJob ( Job $job ) : $this

Set the base queue job instance.

Parameters