/** * 执行指令 * @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); }