/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->addOption('session', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.', null)->setHelp($this->getHelp() . <<<EOT If you are using multiple document managers you can pick your choice with the <info>--session</info> option: <info>php app/console doctrine:phpcr:mapping:info --session=default</info> EOT ); }
/** * {@inheritDoc} */ protected function configure() { parent::configure(); $this->setName('doctrine:phpcr:mapping:info')->addOption('session', null, InputOption::VALUE_OPTIONAL, 'The document manager to use for this command.', null)->setHelp(<<<EOT The <info>doctrine:phpcr:mapping:info</info> shows basic information about which entities exist and possibly if their mapping information contains errors or not. <info>php app/console doctrine:phpcr:mapping:info</info> If you are using multiple document managers you can pick your choice with the <info>--session</info> option: <info>php app/console doctrine:phpcr:mapping:info --session=default</info> EOT ); }