protected function configure()
 {
     parent::configure();
     $this->addOption('modules', 'm', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'Only run fixtures for the given modules')->addOption('exclude-modules', 'x', InputOption::VALUE_IS_ARRAY | InputOption::VALUE_REQUIRED, 'Exclude fixtures in the given modules')->addOption('append', '', InputOption::VALUE_NONE, 'Don\'t empty database tables');
 }
Exemplo n.º 2
0
 protected function configure()
 {
     parent::configure();
     $this->addOption('confirm', '', InputOption::VALUE_NONE, 'Actually execute the SQL statements')->addOption('show-sql', '', InputOption::VALUE_NONE, 'Print the SQL statements');
 }
 protected function configure()
 {
     parent::configure();
     $this->addArgument('module', InputArgument::OPTIONAL, 'The module containing the migrations');
 }
Exemplo n.º 4
0
 protected function configure()
 {
     parent::configure();
     $this->addOption('cache', 'c', InputOption::VALUE_OPTIONAL, 'The name of the cache service', 'cache');
 }