PHP Class Caffeinated\Modules\Console\Commands\ModuleMigrateRollbackCommand

Inheritance: extends Illuminate\Console\Command, use trait Caffeinated\Modules\Traits\MigrationTrait, use trait Illuminate\Console\ConfirmableTrait
Exibir arquivo Open project: caffeinated/modules

Protected Properties

Property Type Description
$description string The console command description.
$migrator Illuminate\Database\Migrations\Migrator The migrator instance.
$module Caffeinated\Modules\Modules
$name string The console command name.

Public Methods

Method Description
__construct ( Illuminate\Database\Migrations\Migrator $migrator, Modules $module ) Create a new command instance.
fire ( ) : mixed Execute the console command.

Protected Methods

Method Description
getArguments ( ) : array Get the console command arguments.
getMigrationPaths ( ) : array Get all of the migration paths.
getOptions ( ) : array Get the console command options.

Method Details

__construct() public method

Create a new command instance.
public __construct ( Illuminate\Database\Migrations\Migrator $migrator, Modules $module )
$migrator Illuminate\Database\Migrations\Migrator
$module Caffeinated\Modules\Modules

fire() public method

Execute the console command.
public fire ( ) : mixed
return mixed

getArguments() protected method

Get the console command arguments.
protected getArguments ( ) : array
return array

getMigrationPaths() protected method

Get all of the migration paths.
protected getMigrationPaths ( ) : array
return array

getOptions() protected method

Get the console command options.
protected getOptions ( ) : array
return array

Property Details

$description protected_oe property

The console command description.
protected string $description
return string

$migrator protected_oe property

The migrator instance.
protected Migrator,Illuminate\Database\Migrations $migrator
return Illuminate\Database\Migrations\Migrator

$module protected_oe property

protected Modules,Caffeinated\Modules $module
return Caffeinated\Modules\Modules

$name protected_oe property

The console command name.
protected string $name
return string