trait
Illuminate
/
Queue
/
InteractsWithQueue
InteractsWithQueue
Properties
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
- $exception Throwable |string|null
public
release ( $delay ) : void
Release the job back into the queue after (n) seconds.
Parameters
- $delay DateTimeInterface |DateInterval |int