class Illuminate / Queue / Console / FailedTableCommand

FailedTableCommand

Extends

Properties

protected

$name string

The console command name.

Default: 'queue:failed-table'
protected

$description string

The console command description.

Default: 'Create a migration for the failed queue jobs database table'
protected

$files Filesystem

The filesystem instance.

Default: null
deprecated protected

$composer Composer

Default: null

Methods

public

__construct ( Filesystem $files , Composer $composer ) : void

Create a new failed queue jobs table command instance.

Parameters

public

handle ( ) : void

Execute the console command.

protected

createBaseMigration ( $table ) : string

Create a base migration file for the table.

Parameters

  • $table string
protected

replaceMigration ( $path , $table ) : void

Replace the generated migration with the failed job table stub.

Parameters

  • $path string
  • $table string