protected function configure() { parent::configure(); $this->setName('doctrine:ensure-production-settings')->addOption('em', null, InputOption::PARAMETER_OPTIONAL, 'The entity manager to use for this command.')->setHelp(<<<EOT The <info>doctrine:cache:clear-metadata</info> command clears all metadata cache for the default entity manager: <info>./symfony doctrine:cache:clear-metadata</info> You can also optionally specify the <comment>--em</comment> option to specify which entity manager to clear the cache for: <info>./symfony doctrine:cache:clear-metadata --em=default</info> EOT ); }
protected function configure() { parent::configure(); $this->setName('doctrine:ensure-production-settings')->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command.')->setHelp(<<<EOT The <info>doctrine:ensure-production-settings</info> command ensures that Doctrine is properly configured for a production environment.: <info>./app/console doctrine:ensure-production-settings</info> You can also optionally specify the <comment>--em</comment> option to specify which entity manager to use: <info>./app/console doctrine:ensure-production-settings --em=default</info> EOT ); }
/** * {@inheritDoc} */ protected function configure() { parent::configure(); $this->setName('doctrine:ensure-production-settings')->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command'); }