1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Merge pull request #679 from ajgarlag/getting-started

Fix getting started doc to work with current version
This commit is contained in:
Marco Pivetta 2013-05-28 00:36:17 -07:00
commit 4e8b787d07

View File

@ -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: