From 75cc89b4ee26595afd806cf72f98aff751004842 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Wed, 26 May 2010 11:49:05 -0400 Subject: [PATCH] Added output to doctrine:generate:entity command and removed undesirable (and misnamed) call to doctrine:generate:entities. --- .../DoctrineBundle/Command/GenerateEntityDoctrineCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Framework/DoctrineBundle/Command/GenerateEntityDoctrineCommand.php b/src/Symfony/Framework/DoctrineBundle/Command/GenerateEntityDoctrineCommand.php index d8045dd91717..5a069aa3087a 100644 --- a/src/Symfony/Framework/DoctrineBundle/Command/GenerateEntityDoctrineCommand.php +++ b/src/Symfony/Framework/DoctrineBundle/Command/GenerateEntityDoctrineCommand.php @@ -120,8 +120,8 @@ protected function execute(InputInterface $input, OutputInterface $output) mkdir($dir, 0777, true); } + $output->writeln(sprintf('Generating entity for "%s"', $bundle)); + $output->writeln(sprintf(' > generating %s', $fullEntityClassName)); file_put_contents($path, $code); - - $this->runCommand('doctrine:generate-entities'); } } \ No newline at end of file