Merge pull request #679 from ajgarlag/getting-started
Fix getting started doc to work with current version
This commit is contained in:
commit
4e8b787d07
@ -187,9 +187,7 @@ doctrine command. Its a fairly simple file:
|
|||||||
// cli-config.php
|
// cli-config.php
|
||||||
require_once "bootstrap.php";
|
require_once "bootstrap.php";
|
||||||
|
|
||||||
$helperSet = new \Symfony\Component\Console\Helper\HelperSet(array(
|
return \Doctrine\ORM\Tools\Console\ConsoleRunner::createHelperSet($entityManager);
|
||||||
'em' => new \Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper($entityManager)
|
|
||||||
));
|
|
||||||
|
|
||||||
You can then change into your project directory and call the
|
You can then change into your project directory and call the
|
||||||
Doctrine command-line tool:
|
Doctrine command-line tool:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user