configure() protected method

protected configure ( )
 protected function configure()
 {
     parent::configure();
     $this->setName('doctrine:migrations:execute')->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command.');
 }
 protected function configure()
 {
     parent::configure();
     $this->setName('doctrine:migrations:execute')->addOption('bundle', null, InputOption::PARAMETER_REQUIRED, 'The bundle to load migrations configuration from.')->addOption('em', null, InputOption::PARAMETER_OPTIONAL, 'The entity manager to use for this command.');
 }
 protected function configure()
 {
     parent::configure();
     $this->setName('doctrine:migrations:execute')->addOption('db', null, InputOption::VALUE_REQUIRED, 'The database connection to use for this command.')->addOption('em', null, InputOption::VALUE_REQUIRED, 'The entity manager to use for this command.')->addOption('shard', null, InputOption::VALUE_REQUIRED, 'The shard connection to use for this command.');
 }
 protected function configure()
 {
     parent::configure();
     $this->setName('ezpublish:migrations:execute');
 }
Beispiel #5
0
 protected function configure()
 {
     parent::configure();
     $this->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command');
 }