diff --git a/docs/en/tutorials/getting-started.rst b/docs/en/tutorials/getting-started.rst index 4f169cd94..5342ff12e 100644 --- a/docs/en/tutorials/getting-started.rst +++ b/docs/en/tutorials/getting-started.rst @@ -25,7 +25,7 @@ The code of this tutorial is `available on Github 'pdo_sqlite', 'path' => __DIR__ . '/db.sqlite', ); - + // obtaining the entity manager - $entityManager = EntityManager::create($conn, $config); + $entityManager = \Doctrine\ORM\EntityManager::create($conn, $config); The first require statement sets up the autoloading capabilities of Doctrine using the Composer autoload. @@ -186,8 +199,10 @@ doctrine command. Its a fairly simple file: new \Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper($entityManager) + )); You can then change into your project directory and call the Doctrine command-line tool: