예제 #1
0
 /**
  * @see Console\Command\Command
  */
 protected function execute(Console\Input\InputInterface $input, Console\Output\OutputInterface $output)
 {
     $this->getApplication()->getProject()->getDatabase();
     parent::execute($input, $output);
 }
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     DoctrineCommandHelper::setApplicationConnection($this->getApplication(), $input->getOption('connection'));
     return parent::execute($input, $output);
 }