PHP Класс Caffeinated\Modules\Console\Generators\MakeSeederCommand

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

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

Свойство Тип Описание
$description string The console command description.
$signature string The name and signature of the console command.
$type string String to store the command type.

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

Метод Описание
getNamespace ( string $name ) : string Replace namespace in seeder stub.
getPath ( string $name ) : string Get the destination class path.
getStub ( ) : string Get the stub file for the generator.
parseName ( string $name ) : string Parse the name and format according to the root namespace.

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

getNamespace() защищенный Метод

Replace namespace in seeder stub.
protected getNamespace ( 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

parseName() защищенный Метод

Parse the name and format according to the root namespace.
protected parseName ( string $name ) : string
$name string
Результат string

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

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

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

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

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

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

String to store the command type.
protected string $type
Результат string