예제 #1
0
파일: Application.php 프로젝트: eva/eva
 /**
  * {@inheritdoc}
  */
 public function doRunCommand(Command $command, InputInterface $input, OutputInterface $output)
 {
     //  Inject the kernel in to the command before we execute it.
     if ($command instanceof CommandInterface) {
         $command->setKernel($this->kernel);
     }
     return parent::doRunCommand($command, $input, $output);
 }