Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

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.
base fork: doctrine/orm-documentation
base: 2f72219d6e
...
head fork: doctrine/orm-documentation
compare: a9dfe1e10e
  • 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.
f3dea27
@GeeH GeeH Update en/tutorials/getting-started.rst
Fixed failed markdown
7118442
@beberlei beberlei Merge pull request #118 from Spabby/master
Added a note to explain something that confused me for a while in this tutorial
a9dfe1e
Showing with 7 additions and 0 deletions.
  1. +7 −0 en/tutorials/getting-started.rst
View
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.