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
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