Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
Webmozart
Console
Api
Command
Command
run
Webmozart\Console\Api\Command\Command::run PHP Method
Command Class Documentation
ファイルを表示
Open project: webmozart/console
run()
public
method
Executes the command for the given unparsed arguments.
public
run
(
Webmozart\Console\Api\Args\RawArgs
$args
,
IO
$io
) :
integer
$args
Webmozart\Console\Api\Args\RawArgs
The unparsed console arguments.
$io
Webmozart\Console\Api\IO\IO
The I/O.
return
integer
Returns 0 on success and any other integer on error.
public function run(RawArgs $args, IO $io) { return $this->handle($this->parseArgs($args), $io); }
Command
__construct
addSubCommand
doHandle
getAliases
getApplication
getArgsFormat
getBaseFormat
getConfig
getDefaultSubCommands
getName
getNamedSubCommands
getParentCommand
getShortName
getSubCommand
getSubCommands
handle
hasAliases
hasDefaultSubCommands
hasNamedSubCommands
hasSubCommand
hasSubCommands
parseArgs
run
validateSubCommandName
warnIfProcessTitleNotSupported