Permalink
Browse files

[2.3] Use HelperSet in cli-config.php

  • Loading branch information...
1 parent 14bd794 commit afd8ea91e34ae1055648179087d99f0939dc3b35 @igorw igorw committed with beberlei Jul 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 tools/sandbox/cli-config.php
View
4 tools/sandbox/cli-config.php
@@ -30,7 +30,7 @@
$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)
-);
+));

0 comments on commit afd8ea9

Please sign in to comment.