MarkJobsAsStaleCommand
extends Command
in package
uses
HandlesDateInputs
Table of Contents
Properties
- $description : string
- The console command description.
- $signature : string
- The name and signature of the console command.
Methods
- handle() : mixed
- Execute the console command.
- parseBeforeDate() : Carbon|null
Properties
$description
The console command description.
protected
string
$description
= 'Mark jobs as stale within a given period'
$signature
The name and signature of the console command.
protected
string
$signature
= 'queue-monitor:stale {--before=} {--beforeDays=} {--beforeInterval=} {--dry}'
Methods
handle()
Execute the console command.
public
handle() : mixed
parseBeforeDate()
public
static parseBeforeDate(Command $command) : Carbon|null
Parameters
- $command : Command