소스 검색

[DoctrineBundle] fixed previous merge

Fabien Potencier 14 년 전
부모
커밋
e8838e51a6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Bundle/DoctrineBundle/Command/DoctrineCommand.php

+ 1 - 1
src/Symfony/Bundle/DoctrineBundle/Command/DoctrineCommand.php

@@ -120,7 +120,7 @@ abstract class DoctrineCommand extends Command
         $pos = strpos($name, ':');
         $alias = substr($name, 0, $pos);
 
-        foreach ($this->container->getParameter('doctrine.orm.entity_managers') as $id) {
+        foreach ($this->container->get('doctrine')->getEntityManagerNames() as $id) {
             $em = $this->container->get($id);
 
             try {