class
Illuminate
/
Database
/
Console
/
Migrations
/
StatusCommand
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
StatusCommand
Extends
Properties
protected
$name string
The console command name.
Default: 'migrate:status'
protected
$description string
The console command description.
Default: 'Show the status of each migration'
Methods
public
__construct ( Migrator $migrator ) : void
Create a new migration rollback command instance.
Parameters
- $migrator Migrator
public
handle ( ) : int|null
Execute the console command.
protected
getStatusFor ( array $ran , array $batches ) : Illuminate\...\Collection
Get the status for the given run migrations.
Parameters
- $ran array
- $batches array
protected
getAllMigrationFiles ( ) : array
Get an array of all of the migration files.
protected
getOptions ( ) : array
Get the console command options.