Selaa lähdekoodia

Added output to doctrine:generate:entity command and removed undesirable (and misnamed) call to doctrine:generate:entities.

Jeremy Mikola 15 vuotta sitten
vanhempi
commit
75cc89b4ee

+ 2 - 2
src/Symfony/Framework/DoctrineBundle/Command/GenerateEntityDoctrineCommand.php

@@ -120,8 +120,8 @@ EOT
             mkdir($dir, 0777, true);
         }
 
+        $output->writeln(sprintf('Generating entity for "<info>%s</info>"', $bundle));
+        $output->writeln(sprintf('  > generating <comment>%s</comment>', $fullEntityClassName));
         file_put_contents($path, $code);
-
-        $this->runCommand('doctrine:generate-entities');
     }
 }