class
Illuminate
/
Queue
/
Console
/
ListFailedCommand
You are viewing an older version of the documentation. For the latest, please visit master documentation.
ListFailedCommand
Extends
Properties
protected
$name string
The console command name.
Default: 'queue:failed'
protected
$description string
The console command description.
Default: 'List all of the failed queue jobs'
protected
$headers string[]
The table headers for the command.
Default: array
Methods
public
handle ( ) : void
Execute the console command.
protected
getFailedJobs ( ) : array
Compile the failed jobs into a displayable format.
protected
parseFailedJob ( array $failed ) : array
Parse the failed job row.
Parameters
- $failed array
private
extractJobName ( $payload ) : string|null
Extract the failed job name from payload.
Parameters
- $payload string
protected
matchJobName ( $payload ) : string|null
Match the job name from the payload.
Parameters
- $payload array
protected
displayFailedJobs ( array $jobs ) : void
Display the failed jobs in the console.
Parameters
- $jobs array