Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Cake
Console
Shell
hasTask
Cake\Console\Shell::hasTask PHP 메소드
Shell 1 문서
파일 보기
프로젝트 열기: cakephp/cakephp
hasTask()
공개
메소드
Check to see if this shell has a task with the provided name.
링크 보기:
http://book.cakephp.org/3.0/en/console-and-shells.html#shell-tasks
public
hasTask
(
string
$task
) :
boolean
$task
string
The task name to check.
리턴
boolean
Success
public function hasTask($task) { return isset($this->_taskMap[Inflector::camelize($task)]); }
Shell
__construct
__debugInfo
__get
_displayHelp
_setOutputLevel
_stop
_welcome
abort
clear
createFile
dispatchShell
err
error
getOptionParser
hasMethod
hasTask
helper
hr
in
info
initialize
io
loadTasks
nl
out
param
parseDispatchArguments
quiet
runCommand
shortPath
startup
success
verbose
warn
wrapText