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

Update en/tutorials/getting-started.rst

Added note that tripped me up.
This commit is contained in:
Gary Hockin 2012-08-07 13:10:25 +02:00
parent 2f72219d6e
commit f3dea276e7

View File

@ -1431,6 +1431,11 @@ 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.