1
0
mirror of synced 2025-01-19 15:01:40 +03:00

removed erroneous tip

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.
This commit is contained in:
Kevin Brogan 2014-01-10 20:28:41 -08:00
parent 93c1106735
commit 5989c0cb54

View File

@ -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')`` To be able to use this query logic through ``$this->getEntityManager()->getRepository('Bug')``
we have to adjust the metadata slightly. we have to adjust the metadata slightly.