trait Illuminate / Queue / InteractsWithQueue

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