Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[2.3] Use HelperSet in cli-config.php

  • Loading branch information...
commit afd8ea91e34ae1055648179087d99f0939dc3b35 1 parent 14bd794
Igor igorw authored beberlei committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 tools/sandbox/cli-config.php
4 tools/sandbox/cli-config.php
View
@@ -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)
-);
+));
Please sign in to comment.
Something went wrong with that request. Please try again.