PHP 클래스 Nwidart\Modules\Commands\ControllerCommand

상속: extends GeneratorCommand, use trait Nwidart\Modules\Traits\ModuleCommandTrait
파일 보기 프로젝트 열기: nwidart/laravel-modules

보호된 프로퍼티들

프로퍼티 타입 설명
$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