public function createCommand($output = null)
{
if (!$this->isDatabaseConfigured()) {
$this->outputLine('Database schema creation has been SKIPPED, the driver and host backend options are not set in /Configuration/Settings.yaml.');
$this->quit(1);
}
$this->doctrineService->createSchema($output);
if ($output === null) {
$this->outputLine('Created database schema.');
} else {
$this->outputLine('Wrote schema creation SQL to file "' . $output . '".');
}
}