run() public method

执行
See also: setCode()
See also: execute()
public run ( Input $input, Output $output ) : integer
$input Input
$output Output
return integer
Esempio n. 1
0
 /**
  * 执行指令
  * @param Command $command 指令实例
  * @param Input   $input   输入实例
  * @param Output  $output  输出实例
  * @return int
  * @throws \Exception
  */
 protected function doRunCommand(Command $command, Input $input, Output $output)
 {
     return $command->run($input, $output);
 }