1
0
mirror of synced 2025-01-29 19:41:45 +03:00

Fix getting started doc to work with current version

This commit is contained in:
Antonio J. García Lagar 2013-05-28 08:57:17 +02:00
parent f269ecc3ac
commit c64c149ebf

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: