Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Documentation corrected in EnsureProductionSettingsDoctrineCommand.php
  • Loading branch information
mweimerskirch committed Feb 28, 2011
commit 1aa6257f00317b9533bf98dfec5fbc41b7c4a18f
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ protected function configure()
->setName('doctrine:ensure-production-settings')
->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:
The <info>doctrine:ensure-production-settings</info> command ensures that Doctrine is properly configured for a production environment.:

<info>./app/console doctrine:cache:clear-metadata</info>
<info>./app/console doctrine:ensure-production-settings</info>

You can also optionally specify the <comment>--em</comment> option to specify which entity manager to clear the cache for:
You can also optionally specify the <comment>--em</comment> option to specify which entity manager to use:

<info>./app/console doctrine:cache:clear-metadata --em=default</info>
<info>./app/console doctrine:ensure-production-settings --em=default</info>
EOT
);
}
Expand Down