trait Illuminate / Queue / InteractsWithQueue
You are viewing an older version of the documentation. For the latest, please visit master documentation.

InteractsWithQueue

Properties

public

$job Job

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.

Parameters

  • $delay int
public

setJob ( Job $job ) : $this

Set the base queue job instance.

Parameters