Browse files

'annotate' option is useless

  • Loading branch information...
mcbennn committed May 24, 2011
1 parent 512eb53 commit 946f68e0294812d65ee0a0b102adbc4f9e4298e7
Showing with 0 additions and 7 deletions.
  1. +0 −7 src/Symfony/Bundle/DoctrineBundle/Command/GenerateEntitiesDoctrineCommand.php
@@ -33,7 +33,6 @@ protected function configure()
->addArgument('name', InputArgument::REQUIRED, 'A bundle name, a namespace, or a class name')
->addOption('path', null, InputOption::VALUE_REQUIRED, 'The path where to generate entities when it cannot be guessed')
->addOption('no-backup', null, InputOption::VALUE_NONE, 'Do not backup existing entities files.')
- ->addOption('annotate', null, InputOption::VALUE_NONE, 'Should we annotate generated entity classes')
The <info>doctrine:generate:entities</info> command generates entity classes
and method stubs from your mapping information:
@@ -64,11 +63,6 @@ protected function configure()
<info>./app/console doctrine:generate:entities Blog/Entity --no-backup</info>
-If you want that generated entity classes are annotated with ORM mapping,
-you can provide the <comment>--annotate</comment> option:
- <info>./app/console doctrine:generate:entities Blog/Entity --annotate</info>
@@ -97,7 +91,6 @@ protected function execute(InputInterface $input, OutputInterface $output)
$generator = $this->getEntityGenerator();
- $generator->setGenerateAnnotations($input->getOption('annotate'));
$repoGenerator = new EntityRepositoryGenerator();
foreach ($metadatas as $metadata) {

0 comments on commit 946f68e

Please sign in to comment.