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(''); }
/** * Post install event handler * * @param Event $event * @throws \Exception */ public static function postInstall(Event $event) { self::writeConfigXml($event); Application::createDb(); }