Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
think
Console
setDefaultCommand
think\Console::setDefaultCommand PHP Метод
Документация по классу Console
Показать файл
Открыть проект
setDefaultCommand()
публичный
Метод
设置默认的指令
public
setDefaultCommand
(
string
$commandName
)
$commandName
string
The Command name
public function setDefaultCommand($commandName) { $this->defaultCommand = $commandName; }
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