mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Multiple ORMs for all database
This commit is contained in:
@@ -69,8 +69,8 @@ $cli = new CLI("
|
||||
|
||||
if ($cli['configuration.store']->isSetup()) {
|
||||
$helpers = [
|
||||
'db' => new ConnectionHelper($cli['EM']->getConnection()),
|
||||
'em' => new EntityManagerHelper($cli['EM'])
|
||||
'db' => new ConnectionHelper($cli['orm.em']->getConnection()),
|
||||
'em' => new EntityManagerHelper($cli['orm.em'])
|
||||
];
|
||||
|
||||
$helperSet = $cli['console']->getHelperSet();
|
||||
|
Reference in New Issue
Block a user