Release
class Release (View source)
Methods
__construct(bool $release = false, int $releaseAfter = 0)
No description
static Release
static Release
mixed
handle(mixed $job, callable $next)
Handle the job.
Details
__construct(bool $release = false, int $releaseAfter = 0)
No description
static Release
when(Closure|bool $condition, int $releaseAfter = 0)
Release the job back onto the queue if the given condition is truthy.
static Release
unless(Closure|bool $condition, int $releaseAfter = 0)
Release the job back onto the queue unless the given condition is truthy.
mixed
handle(mixed $job, callable $next)
Handle the job.