From c64c149ebf862d9560cfff86f079a001c84c79f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20J=2E=20Garc=C3=ADa=20Lagar?= Date: Tue, 28 May 2013 08:57:17 +0200 Subject: [PATCH] Fix getting started doc to work with current version --- docs/en/tutorials/getting-started.rst | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/en/tutorials/getting-started.rst b/docs/en/tutorials/getting-started.rst index 1ff524529..187029dfa 100644 --- a/docs/en/tutorials/getting-started.rst +++ b/docs/en/tutorials/getting-started.rst @@ -187,9 +187,7 @@ doctrine command. Its a fairly simple file: // cli-config.php require_once "bootstrap.php"; - $helperSet = new \Symfony\Component\Console\Helper\HelperSet(array( - 'em' => new \Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper($entityManager) - )); + return \Doctrine\ORM\Tools\Console\ConsoleRunner::createHelperSet($entityManager); You can then change into your project directory and call the Doctrine command-line tool: