소스 검색

[PropelBundle] added automatic bootstrapping of Propel in the boot

Fabien Potencier 15 년 전
부모
커밋
c1e0c3edba
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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();
     }
 }