[PropelBundle] added automatic bootstrapping of Propel in the boot

This commit is contained in:
Fabien Potencier 2010-05-27 16:52:16 +02:00
parent c9e8934ee0
commit c1e0c3edba

View File

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