Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
think
Console
has
think\Console::has PHP 메소드
Console 1 문서
파일 보기
프로젝트 열기: top-think/framework
has()
공개
메소드
某个指令是否存在
public
has
(
string
$name
) :
boolean
$name
string
指令名称
리턴
boolean
public function has($name) { return isset($this->commands[$name]); }
Console
__construct
add
addCommands
addDefaultCommands
all
call
configureIO
doRun
doRunCommand
extractAllNamespaces
extractNamespace
find
findAlternatives
findNamespace
get
getAbbreviationSuggestions
getAbbreviations
getCommandName
getDefaultCommands
getDefaultInputDefinition
getDefinition
getHelp
getLongVersion
getName
getNamespaces
getVersion
has
init
register
run
setAutoExit
setCatchExceptions
setDefaultCommand
setDefinition
setName
setVersion