Свойство | Type | Description | |
---|---|---|---|
$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 |
Méthode | Description | |
---|---|---|
__construct ( |
Create a new command instance. | |
fire ( ) : mixed | Execute the console command. |
Méthode | Description | |
---|---|---|
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 createUndoFile ( ) : void | ||
Résultat | void |
protected getArguments ( ) : array | ||
Résultat | array |
protected getOptions ( ) : array | ||
Résultat | array |
protected makeJsonMigration ( ) : void | ||
Résultat | void |
protected string $description | ||
Résultat | string |
protected string $filePath | ||
Résultat | string |
protected string $filePathDirectory | ||
Résultat | string |
protected Filesystem,Illuminate\Filesystem $filesystem | ||
Résultat | Illuminate\Filesystem\Filesystem |
protected MakeMigrationJson,Mojopollo\Schema $makeMigrationJson | ||
Résultat |
protected int $startTime | ||
Résultat | integer |
protected string $undoFilePath | ||
Résultat | string |