/**
  * {@inheritdoc}
  */
 public function getDatabaseConnection(InputInterface $input)
 {
     return parent::getDatabaseConnection($input);
 }
Beispiel #2
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('import')->setDescription('Import database from a generation script.')->addArgument('script', InputOption::VALUE_REQUIRED, 'Import script');
 }
Beispiel #3
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     $this->setName('dump-database-d8-mysql')->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');
     parent::configure();
 }