configure() protected method

See also: Console\Command\Command
protected configure ( )
    protected function configure()
    {
        parent::configure();
        $this->setName('doctrine:mapping:convert')->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command.')->setHelp(<<<EOT
The <info>doctrine:mapping:convert</info> command converts mapping information between supported formats:

  <info>./app/console doctrine:mapping:convert xml /path/to/output</info>
EOT
);
    }
 protected function configure()
 {
     parent::configure();
     $this->addOption('debug-mode', NULL, InputOption::VALUE_OPTIONAL, "Force Tracy debug mode", TRUE);
 }
 /**
  * {@inheritDoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->setName('doctrine:mapping:convert')->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command');
 }
Ejemplo n.º 4
0
 /**
  * {@inheritDoc}
  */
 protected function configure()
 {
     parent::configure();
     $this->addOption('em', NULL, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command');
 }