Свойство | Type | Description | |
---|---|---|---|
$description | string | The console command description. | |
$signature | string | The name and signature of the console command. | |
$type | string | The type of class being generated. | |
$typeLookup | array | Migration column types collection. |
Méthode | Description | |
---|---|---|
buildClass ( string $name ) : string | Build the model class with the given name. | |
getPath ( string $name ) : string | Get the destination class path. | |
getStub ( ) : string | Get the stub file for the generator. | |
replaceSchemaDown ( string &$stub, string $schemaDown ) | Replace the schema_down for the given stub. | |
replaceSchemaUp ( string &$stub, string $schemaUp ) | Replace the schema_up for the given stub. |
protected buildClass ( string $name ) : string | ||
$name | string | |
Résultat | string |
protected replaceSchemaDown ( string &$stub, string $schemaDown ) | ||
$stub | string | |
$schemaDown | string |
protected replaceSchemaUp ( string &$stub, string $schemaUp ) | ||
$stub | string | |
$schemaUp | string |
protected string $description | ||
Résultat | string |
protected string $signature | ||
Résultat | string |
protected string $type | ||
Résultat | string |
protected array $typeLookup | ||
Résultat | array |