configure() protected method

protected configure ( )
コード例 #1
0
 protected function configure()
 {
     parent::configure();
     $this->setName('doctrine:migrations:diff')->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command.');
 }
コード例 #2
0
ファイル: DiffCommandProxy.php プロジェクト: baohx2000/doc
 protected function configure()
 {
     parent::configure();
     $this->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command');
 }
コード例 #3
0
 protected function configure()
 {
     parent::configure();
     $this->setName('doctrine:migrations:diff')->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.');
 }
コード例 #4
0
 /**
  * {@inheritdoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('doctrine:migrations:diff');
 }