From 408eef1356da8c15fdc0e2d34de4d265db57d743 Mon Sep 17 00:00:00 2001 From: Danny Kopping Date: Fri, 26 Apr 2013 12:05:50 +0300 Subject: [PATCH] Fixed entities path In the tutorial, the user is told to create a new file in the '/src' folder, and the 'entities' folder is never referenced. Updating the SQLite schema according to the tutorial fails with the 'No Metadata Classes to process.' message. Changing the folder to '/src' fixes this, ostensibly. --- docs/en/tutorials/getting-started.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/tutorials/getting-started.rst b/docs/en/tutorials/getting-started.rst index 2faea8218..1ff524529 100644 --- a/docs/en/tutorials/getting-started.rst +++ b/docs/en/tutorials/getting-started.rst @@ -137,7 +137,7 @@ step: // Create a simple "default" Doctrine ORM configuration for Annotations $isDevMode = true; - $config = Setup::createAnnotationMetadataConfiguration(array(__DIR__."/entities"), $isDevMode); + $config = Setup::createAnnotationMetadataConfiguration(array(__DIR__."/src"), $isDevMode); // or if you prefer yaml or XML //$config = Setup::createXMLMetadataConfiguration(array(__DIR__."/config/xml"), $isDevMode); //$config = Setup::createYAMLMetadataConfiguration(array(__DIR__."/config/yaml"), $isDevMode);