프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$description | string | The console command description. | |
$filePath | string | The file path to the json file | |
$filePathDirectory | string | The directory of the file path to the json file | |
$filesystem | Illuminate\Filesystem\Filesystem | Filesystem instance | |
$makeMigrationJson | MakeMigrationJson instance | ||
$name | string | The console command name. | |
$startTime | integer | The timestamp when file generation started | |
$undoFilePath | string | The file path to the json undo file |
메소드 | 설명 | |
---|---|---|
__construct ( |
Create a new command instance. | |
fire ( ) : mixed | Execute the console command. |
메소드 | 설명 | |
---|---|---|
createUndoFile ( ) : void | Creates the undo file | |
getArguments ( ) : array | Get the console command arguments. | |
getOptions ( ) : array | Get the console command options. | |
makeJsonMigration ( ) : void | Make the json migration | |
undo ( ) : void | Perform undo action | |
validate ( ) : void | Validate the json file and console report any issues |
public __construct ( |
||
$makeMigrationJson | ||
$filesystem | Illuminate\Filesystem\Filesystem |
protected getArguments ( ) : array | ||
리턴 | array |
protected string $filePathDirectory | ||
리턴 | string |
protected Filesystem,Illuminate\Filesystem $filesystem | ||
리턴 | Illuminate\Filesystem\Filesystem |
protected MakeMigrationJson,Mojopollo\Schema $makeMigrationJson | ||
리턴 |
protected int $startTime | ||
리턴 | integer |
protected string $undoFilePath | ||
리턴 | string |