Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 3 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Aug 07, 2012
@GeeH GeeH Update en/tutorials/getting-started.rst
Added note that tripped me up.
@GeeH GeeH Update en/tutorials/getting-started.rst
Fixed failed markdown
@beberlei beberlei Merge pull request #118 from Spabby/master
Added a note to explain something that confused me for a while in this tutorial
Showing with 7 additions and 0 deletions.
  1. +7 −0 en/tutorials/getting-started.rst
7 en/tutorials/getting-started.rst
@@ -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.

No commit comments for this range

Something went wrong with that request. Please try again.