Свойство | Type | Description | |
---|---|---|---|
$description | string | The console command description. | |
$migrator | Migration generator instance. | ||
$modeler | Model generator instance. | ||
$name | string | The console command name. |
Méthode | Description | |
---|---|---|
__construct ( |
Create a new command instance. | |
fire ( ) : void | Execute the console command. |
Méthode | Description | |
---|---|---|
getArguments ( ) : array | Get the command arguments. | |
getMigrationsPath ( ) : string | Get the path to the migrations directory. | |
getModelsPath ( ) : string | Get the path to the models directory. | |
writeMigration ( string $name ) : string | Write the migration file to disk. | |
writeModel ( string $name ) : string | Write the model file to disk. |
public __construct ( |
||
$migrator | ||
$modeler | ||
Résultat | void |
protected getArguments ( ) : array | ||
Résultat | array |
protected getMigrationsPath ( ) : string | ||
Résultat | string |
protected getModelsPath ( ) : string | ||
Résultat | string |
protected writeMigration ( string $name ) : string | ||
$name | string | |
Résultat | string |
protected writeModel ( string $name ) : string | ||
$name | string | |
Résultat | string |
protected string $description | ||
Résultat | string |
protected MigrationGenerator,Baum\Generators $migrator | ||
Résultat |
protected ModelGenerator,Baum\Generators $modeler | ||
Résultat |