1
0
mirror of synced 2024-12-05 03:06:05 +03:00

[2.3] Use HelperSet in cli-config.php

This commit is contained in:
Igor Wiedler 2012-07-26 19:23:47 +02:00 committed by Benjamin Eberlei
parent 14bd794960
commit afd8ea91e3

View File

@ -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)
);
));