Exemple #1
0
 /**
  * 执行command
  * @param CommandInterface $command
  */
 function runCommand(CommandInterface $command)
 {
     $this->argv->bind($command->getDefinition()->merge($this->getDefaultDefinition()));
     return $command->execute($this->io, $this->argv);
 }