PHP Class Caffeinated\Modules\Console\Commands\ModuleMigrateRollbackCommand

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

Protected Properties

Свойство 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.

Méthodes publiques

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

Méthodes protégées

Méthode 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 méthode

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 méthode

Execute the console command.
public fire ( ) : mixed
Résultat mixed

getArguments() protected méthode

Get the console command arguments.
protected getArguments ( ) : array
Résultat array

getMigrationPaths() protected méthode

Get all of the migration paths.
protected getMigrationPaths ( ) : array
Résultat array

getOptions() protected méthode

Get the console command options.
protected getOptions ( ) : array
Résultat array

Property Details

$description protected_oe property

The console command description.
protected string $description
Résultat string

$migrator protected_oe property

The migrator instance.
protected Migrator,Illuminate\Database\Migrations $migrator
Résultat Illuminate\Database\Migrations\Migrator

$module protected_oe property

protected Modules,Caffeinated\Modules $module
Résultat Caffeinated\Modules\Modules

$name protected_oe property

The console command name.
protected string $name
Résultat string