Skip to content

Commit

Permalink
Correct prefix from nothing to ORM\ for annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
nicodmf committed Jun 28, 2011
1 parent fb19e84 commit bf76bed
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -99,6 +99,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
$repoGenerator = new EntityRepositoryGenerator();
foreach ($metadata->getMetadata() as $m) {
$output->writeln(sprintf(' > generating <comment>%s</comment>', $m->name));
$generator->setAnnotationPrefix('ORM\\');
$generator->generate(array($m), $metadata->getPath());

if ($m->customRepositoryClassName && false !== strpos($m->customRepositoryClassName, $metadata->getNamespace())) {
Expand Down

0 comments on commit bf76bed

Please sign in to comment.