From 5989c0cb54fbd519feef824b220407d36a93d29a Mon Sep 17 00:00:00 2001 From: Kevin Brogan Date: Fri, 10 Jan 2014 20:28:41 -0800 Subject: [PATCH] removed erroneous tip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I'm working through the tutorial myself and got to this point. Don’t forget to add a require_once call for this class to the bootstrap.php This advice is wrong. The class is located in the src directory and so is autoloaded when required. No require statement is necessary. --- docs/en/tutorials/getting-started.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/en/tutorials/getting-started.rst b/docs/en/tutorials/getting-started.rst index 2a16ad4a2..14270448f 100644 --- a/docs/en/tutorials/getting-started.rst +++ b/docs/en/tutorials/getting-started.rst @@ -1473,8 +1473,6 @@ the previously discussed query functionality in it: } } -Don't forget to add a `require_once` call for this class to the bootstrap.php - To be able to use this query logic through ``$this->getEntityManager()->getRepository('Bug')`` we have to adjust the metadata slightly.