[2.3] Use HelperSet in cli-config.php
This commit is contained in:
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)
|
||||
);
|
||||
));
|
Loading…
Reference in New Issue
Block a user