Property | 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 |
Method | Description | |
---|---|---|
__construct ( |
Create a new command instance. | |
fire ( ) : mixed | Execute the console command. |
Method | 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 | ||
return | void |
protected getArguments ( ) : array | ||
return | array |
protected getOptions ( ) : array | ||
return | array |
protected makeJsonMigration ( ) : void | ||
return | void |
protected string $description | ||
return | string |
protected string $filePath | ||
return | string |
protected string $filePathDirectory | ||
return | string |
protected Filesystem,Illuminate\Filesystem $filesystem | ||
return | Illuminate\Filesystem\Filesystem |
protected MakeMigrationJson,Mojopollo\Schema $makeMigrationJson | ||
return |
protected int $startTime | ||
return | integer |
protected string $undoFilePath | ||
return | string |