Example #1
0
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $output->writeln('');
     $output->write("Creating Portunus DB ... ");
     Application::createDb($this->getContainer());
     $output->writeln('<info>DONE</info>');
     $output->writeln('');
 }
Example #2
0
 /**
  * Post install event handler
  *
  * @param Event $event
  * @throws \Exception
  */
 public static function postInstall(Event $event)
 {
     self::writeConfigXml($event);
     Application::createDb();
 }