class
Illuminate
/
Queue
/
Console
/
TableCommand
You are viewing an older version of the documentation. For the latest, please visit master documentation.
TableCommand
Extends
Properties
protected
$name string
The console command name.
Default: 'queue:table'
protected
$description string
The console command description.
Default: 'Create a migration for the queue jobs database table'
Methods
public
__construct ( Filesystem $files , Composer $composer ) : void
Create a new queue job table command instance.
Parameters
- $files Filesystem
- $composer Composer
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 , $tableClassName ) : void
Replace the generated migration with the job table stub.
Parameters
- $path string
- $table string
- $tableClassName string