소스 검색

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

Jeremy Mikola 15 년 전
부모
커밋
75cc89b4ee
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/Symfony/Framework/DoctrineBundle/Command/GenerateEntityDoctrineCommand.php

+ 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');
     }
 }