class Illuminate / Database / Console / Migrations / ResetCommand

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'
protected

$migrator Migrator

The migrator instance.

Default: null

Methods

public

__construct ( Migrator $migrator ) : void

Create a new migration rollback command instance.

Parameters

public

handle ( ) : int

Execute the console command.

protected

getOptions ( ) : array

Get the console command options.