Przeglądaj źródła

[PropelBundle] added automatic bootstrapping of Propel in the boot

Fabien Potencier 15 lat temu
rodzic
commit
c1e0c3edba
1 zmienionych plików z 2 dodań i 0 usunięć
  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();
     }
 }