Forráskód Böngészése

[DoctrineBundle] fixed previous merge

Fabien Potencier 14 éve
szülő
commit
e8838e51a6

+ 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 {