1
0
mirror of synced 2025-01-31 12:32:59 +03:00

Merge pull request #118 from Spabby/master

Added a note to explain something that confused me for a while in this tutorial
This commit is contained in:
Benjamin Eberlei 2012-08-07 04:15:59 -07:00
commit a9dfe1e10e

View File

@ -1431,6 +1431,13 @@ the previoiusly discussed query functionality in it:
Dont forget to add a `require_once` call for this class to the bootstrap.php
.. note::
**require_once gotcha**
Make sure you add the require_once call for `BugRepository.php` *after* the require_once
call for `bootstrap_doctrine.php`, or you will get some class not found errors.
To be able to use this query logic through ``$this->getEntityManager()->getRepository('Bug')``
we have to adjust the metadata slightly.