Toggle navigation
Hot Examples
RU
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
Показать файл
Открыть проект
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