protected function configure() { parent::configure(); $this->setName('doctrine:cache:clear-metadata')->setDescription('Clear all metadata cache for a entity manager.')->addOption('em', null, InputOption::VALUE_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 ); }
/** * {@inheritDoc} */ protected function configure() { parent::configure(); $this->setName('doctrine:cache:clear-metadata')->setDescription('Clears all metadata cache for an entity manager')->addOption('em', null, InputOption::VALUE_OPTIONAL, 'The entity manager to use for this command'); }
protected function configure() { parent::configure(); $this->setName('doctrine:cache-clear:metadata'); $this->addOption('em', null, InputOption::VALUE_OPTIONAL, 'Entity manager to use')->addOption('con', null, InputOption::VALUE_OPTIONAL, 'Connection to use'); }
/** * {@inheritdoc} */ protected function configure() { parent::configure(); $this->setName('doctrine:cache:clear-metadata'); }