From afd8ea91e34ae1055648179087d99f0939dc3b35 Mon Sep 17 00:00:00 2001 From: Igor Wiedler Date: Thu, 26 Jul 2012 19:23:47 +0200 Subject: [PATCH] [2.3] Use HelperSet in cli-config.php --- tools/sandbox/cli-config.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/sandbox/cli-config.php b/tools/sandbox/cli-config.php index c949668e0..2a34fd89b 100644 --- a/tools/sandbox/cli-config.php +++ b/tools/sandbox/cli-config.php @@ -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) -); \ No newline at end of file +)); \ No newline at end of file