class
Illuminate
/
Database
/
Console
/
Migrations
/
ResetCommand
You are viewing an older version of the documentation. For the latest, please visit master documentation.
ResetCommand
Extends
Uses
Properties
protected
$name string
The console command name.
Default: 'migrate:reset'
protected
$description string
The console command description.
Default: 'Rollback all database migrations'
Methods
public
__construct ( Migrator $migrator ) : void
Create a new migration rollback command instance.
Parameters
- $migrator Migrator
public
handle ( ) : int
Execute the console command.
protected
getOptions ( ) : array
Get the console command options.