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

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

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

Свойство Тип Описание
$argumentName string The name of 'name' argument.

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

Метод Описание
fire ( ) Execute the console command.
getClass ( ) : string Get class name.
getClassNamespace ( Module $module ) : string Get class namespace.
getDefaultNamespace ( ) : string Get default namespace.

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

Метод Описание
getDestinationFilePath ( ) : string Get the destination file path.
getTemplateContents ( ) : string Get template contents.

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

fire() публичный метод

Execute the console command.
public fire ( )

getClass() публичный метод

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

getClassNamespace() публичный метод

Get class namespace.
public getClassNamespace ( Module $module ) : string
$module Nwidart\Modules\Module
Результат string

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

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

getDestinationFilePath() абстрактный защищенный метод

Get the destination file path.
abstract protected getDestinationFilePath ( ) : string
Результат string

getTemplateContents() абстрактный защищенный метод

Get template contents.
abstract protected getTemplateContents ( ) : string
Результат string

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

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

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