Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
think
Console
register
think\Console::register PHP Méthode
Console Class Documentation
Afficher le fichier
Open project: top-think/framework
register()
public
méthode
注册一个指令
public
register
(
string
$name
) :
Command
$name
string
Résultat
think\console\Command
public function register($name) { return $this->add(new Command($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