Property | Type | Description | |
---|---|---|---|
$description | string | The console command description. | |
$files | Illuminate\Filesystem\Filesystem | ||
$migrator | Illuminate\Database\Migrations\Migrator | ||
$module | |||
$name | string | The console command name. |
Method | Description | |
---|---|---|
__construct ( |
Create a new command instance. | |
fire ( ) : mixed | Execute the console command. |
Method | 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 | ||
return | array |
protected getMigrationPath ( $slug ) : string | ||
return | string |
protected getOptions ( ) : array | ||
return | array |
protected getParameters ( string $slug ) : array | ||
$slug | string | |
return | array |
protected string $description | ||
return | string |
protected Filesystem,Illuminate\Filesystem $files | ||
return | Illuminate\Filesystem\Filesystem |
protected Migrator,Illuminate\Database\Migrations $migrator | ||
return | Illuminate\Database\Migrations\Migrator |
protected Modules,Caffeinated\Modules $module | ||
return |