public function dropDatabase($output) { $this->detectDbSettings($output); $db = $this->getConnection(); $db->query('DROP DATABASE `' . $this->dbSettings['dbname'] . '`'); $output->writeln('<info>Dropped database</info> <comment>' . $this->dbSettings['dbname'] . '</comment>'); }