mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
[2.3] Use HelperSet in cli-config.php
This commit is contained in:
committed by
Benjamin Eberlei
parent
14bd794960
commit
afd8ea91e3
@@ -30,7 +30,7 @@ $connectionOptions = array(
|
||||
|
||||
$em = \Doctrine\ORM\EntityManager::create($connectionOptions, $config);
|
||||
|
||||
$helpers = array(
|
||||
$helpers = new Symfony\Component\Console\Helper\HelperSet(array(
|
||||
'db' => new \Doctrine\DBAL\Tools\Console\Helper\ConnectionHelper($em->getConnection()),
|
||||
'em' => new \Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper($em)
|
||||
);
|
||||
));
|
||||
Reference in New Issue
Block a user