Explorar o código

[PropelBundle] added automatic bootstrapping of Propel in the boot

Fabien Potencier %!s(int64=15) %!d(string=hai) anos
pai
achega
c1e0c3edba
Modificáronse 1 ficheiros con 2 adicións e 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();
     }
 }