프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$description | string | The console command description. | |
$files | Illuminate\Filesystem\Filesystem | ||
$migrator | Illuminate\Database\Migrations\Migrator | ||
$module | |||
$name | string | The console command name. |
메소드 | 설명 | |
---|---|---|
__construct ( |
Create a new command instance. | |
fire ( ) : mixed | Execute the console command. |
메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | array |
protected getMigrationPath ( $slug ) : string | ||
리턴 | string |
protected getParameters ( string $slug ) : array | ||
$slug | string | |
리턴 | array |
protected Filesystem,Illuminate\Filesystem $files | ||
리턴 | Illuminate\Filesystem\Filesystem |
protected Migrator,Illuminate\Database\Migrations $migrator | ||
리턴 | Illuminate\Database\Migrations\Migrator |