New service: propel.connection which is the active PropelPDO connection
This commit is contained in:
parent
284dfeb355
commit
20747fcdc7
1 changed files with 3 additions and 0 deletions
|
|
@ -39,6 +39,9 @@ class PropelBundle extends Bundle
|
|||
}
|
||||
|
||||
\Propel::initialize();
|
||||
|
||||
$this->container->set('propel.connection',
|
||||
\Pnfigurationropel::getConnection($this->container->getParameter('propel.dbal.default_connection')));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue