Explorar el Código

[PropelBundle] added automatic bootstrapping of Propel in the boot

Fabien Potencier hace 15 años
padre
commit
c1e0c3edba
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      src/Symfony/Framework/PropelBundle/Bundle.php

+ 2 - 0
src/Symfony/Framework/PropelBundle/Bundle.php

@@ -43,5 +43,7 @@ class Bundle extends BaseBundle
         $autoloader = \PropelAutoloader::getInstance();
         $autoloader->addClassPaths(include($autoload));
         $autoloader->register();
+
+        $container->getPropelService();
     }
 }