PHP Класс Nwidart\Modules\Commands\ControllerCommand

Наследование: extends GeneratorCommand, use trait Nwidart\Modules\Traits\ModuleCommandTrait
Показать файл Открыть проект

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

Свойство Тип Описание
$argumentName string The name of argument being used.
$description string The console command description.
$name string The console command name.

Открытые методы

Метод Описание
getDefaultNamespace ( ) : string Get default namespace.
getDestinationFilePath ( ) : string Get controller name.

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

Метод Описание
getArguments ( ) : array Get the console command arguments.
getControllerName ( ) : array | string
getOptions ( ) : array
getTemplateContents ( ) : string

Приватные методы

Метод Описание
getStubName ( ) : string Get the stub file name based on the plain option

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

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

Get the console command arguments.
protected getArguments ( ) : array
Результат array

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

protected getControllerName ( ) : array | string
Результат array | string

getDefaultNamespace() публичный Метод

Get default namespace.
public getDefaultNamespace ( ) : string
Результат string

getDestinationFilePath() публичный Метод

Get controller name.
public getDestinationFilePath ( ) : string
Результат string

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

protected getOptions ( ) : array
Результат array

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

protected getTemplateContents ( ) : string
Результат string

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

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

The name of argument being used.
protected string $argumentName
Результат string

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

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

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

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