Property | Type | Description | |
---|---|---|---|
$description | string | The console command description. | |
$migrator | Migration generator instance. | ||
$modeler | Model generator instance. | ||
$name | string | The console command name. |
Method | Description | |
---|---|---|
__construct ( |
Create a new command instance. | |
fire ( ) : void | Execute the console command. |
Method | 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 | ||
return | void |
protected getArguments ( ) : array | ||
return | array |
protected getMigrationsPath ( ) : string | ||
return | string |
protected getModelsPath ( ) : string | ||
return | string |
protected writeMigration ( string $name ) : string | ||
$name | string | |
return | string |
protected writeModel ( string $name ) : string | ||
$name | string | |
return | string |
protected string $description | ||
return | string |
protected MigrationGenerator,Baum\Generators $migrator | ||
return |
protected ModelGenerator,Baum\Generators $modeler | ||
return |