Свойство | Тип | Описание | |
---|---|---|---|
$description | string | The console command description. | |
$migrator | Migration generator instance. | ||
$modeler | Model generator instance. | ||
$name | string | The console command name. |
Метод | Описание | |
---|---|---|
__construct ( |
Create a new command instance. | |
fire ( ) : void | Execute the console command. |
Метод | Описание | |
---|---|---|
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 | ||
Результат | void |
protected getArguments ( ) : array | ||
Результат | array |
protected getMigrationsPath ( ) : string | ||
Результат | string |
protected getModelsPath ( ) : string | ||
Результат | string |
protected writeMigration ( string $name ) : string | ||
$name | string | |
Результат | string |
protected writeModel ( string $name ) : string | ||
$name | string | |
Результат | string |
protected string $description | ||
Результат | string |
protected MigrationGenerator,Baum\Generators $migrator | ||
Результат |
protected ModelGenerator,Baum\Generators $modeler | ||
Результат |