Skip to content

Commit

Permalink
Minor tweaks to Repository section
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj committed Jan 18, 2014
1 parent 485b529 commit 1ec68fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions book/doctrine.rst
Original file line number Diff line number Diff line change
Expand Up @@ -772,10 +772,10 @@ Custom Repository Classes

In the previous sections, you began constructing and using more complex queries
from inside a controller. In order to isolate, test and reuse these queries,
it's a good idea to create a custom repository class for your entity and
it's a good practise to create a custom repository class for your entity and
add methods with your query logic there.

To do this, add the name of the repository class to your mapping definition.
To do this, add the name of the repository class to your mapping definition:

.. configuration-block::

Expand Down

0 comments on commit 1ec68fe

Please sign in to comment.