PHP Класс Appzcoder\CrudGenerator\Commands\CrudMigrationCommand

Наследование: extends Illuminate\Console\GeneratorCommand
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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.

Защищенные методы

Метод Описание
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.

Описание методов

buildClass() защищенный метод

Build the model class with the given name.
protected buildClass ( string $name ) : string
$name string
Результат string

getPath() защищенный метод

Get the destination class path.
protected getPath ( string $name ) : string
$name string
Результат string

getStub() защищенный метод

Get the stub file for the generator.
protected getStub ( ) : string
Результат string

replaceSchemaDown() защищенный метод

Replace the schema_down for the given stub.
protected replaceSchemaDown ( string &$stub, string $schemaDown )
$stub string
$schemaDown string

replaceSchemaUp() защищенный метод

Replace the schema_up for the given stub.
protected replaceSchemaUp ( string &$stub, string $schemaUp )
$stub string
$schemaUp string

Описание свойств

$description защищенное свойство

The console command description.
protected string $description
Результат string

$signature защищенное свойство

The name and signature of the console command.
protected string $signature
Результат string

$type защищенное свойство

The type of class being generated.
protected string $type
Результат string

$typeLookup защищенное свойство

Migration column types collection.
protected array $typeLookup
Результат array