thrownew\RuntimeException('This script can only be used with MySQL database backends.');
}
$this->connection=$connection;
$this->moduleHandler=$module_handler;
parent::__construct();
}
/**
* {@inheritdoc}
*/
protectedfunctionconfigure(){
$this->setName('dump-database-d8-mysql')
->setDescription('Dump the current database to a generation script');
->setDescription('Dump the current database to a generation script')
->addOption('schema-only',NULL,InputOption::VALUE_OPTIONAL,'A comma separated list of tables to only export the schema without data.','cache.*,sessions,watchdog');
thrownew\RuntimeException('An existing Drupal installation exists at this location. Try removing all tables or changing the database prefix in your settings.php file.');