Свойство | Type | Description | |
---|---|---|---|
$description | string | The console command description. | |
$files | Illuminate\Filesystem\Filesystem | ||
$migrator | Illuminate\Database\Migrations\Migrator | ||
$module | |||
$name | string | The console command name. |
Méthode | Description | |
---|---|---|
__construct ( |
Create a new command instance. | |
fire ( ) : mixed | Execute the console command. |
Méthode | Description | |
---|---|---|
getArguments ( ) : array | Get the console command arguments. | |
getMigrationPath ( $slug ) : string | Get migrations path. | |
getOptions ( ) : array | Get the console command options. | |
getParameters ( string $slug ) : array | Get the console command parameters. | |
reset ( string $slug ) : mixed | Run the migration reset for the specified module. | |
runDown ( string $slug, object $migration, boolean $pretend ) | Run "down" a migration instance. |
public __construct ( |
||
$module | ||
$files | Illuminate\Filesystem\Filesystem | |
$migrator | Illuminate\Database\Migrations\Migrator |
protected getArguments ( ) : array | ||
Résultat | array |
protected getMigrationPath ( $slug ) : string | ||
Résultat | string |
protected getOptions ( ) : array | ||
Résultat | array |
protected getParameters ( string $slug ) : array | ||
$slug | string | |
Résultat | array |
protected string $description | ||
Résultat | string |
protected Filesystem,Illuminate\Filesystem $files | ||
Résultat | Illuminate\Filesystem\Filesystem |
protected Migrator,Illuminate\Database\Migrations $migrator | ||
Résultat | Illuminate\Database\Migrations\Migrator |
protected Modules,Caffeinated\Modules $module | ||
Résultat |