New service: propel.connection which is the active PropelPDO connection

This commit is contained in:
William DURAND 2011-04-13 17:00:29 +02:00
commit 20747fcdc7

View file

@ -39,6 +39,9 @@ class PropelBundle extends Bundle
}
\Propel::initialize();
$this->container->set('propel.connection',
\Pnfigurationropel::getConnection($this->container->getParameter('propel.dbal.default_connection')));
}
}