Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #679 from ajgarlag/getting-started

Fix getting started doc to work with current version
  • Loading branch information...
commit 4e8b787d072fe48e798a1bd5cd05f08e9a083525 2 parents f269ecc + c64c149
@Ocramius Ocramius authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 docs/en/tutorials/getting-started.rst
4 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:
Please sign in to comment.
Something went wrong with that request. Please try again.