@@ -207,9 +207,6 @@ Doctrine supports several metadata formats, but it's recommended to use PHP
207207attributes because they are by far the most convenient and agile way of setting
208208up and looking for mapping information.
209209
210- If your PHP version doesn't support attributes yet, use annotations, which is
211- similar but requires installing some extra dependencies in your project.
212-
213210Controllers
214211-----------
215212
@@ -226,12 +223,12 @@ controllers shouldn't contain any business logic. Controllers should contain
226223nothing more than a few lines of *glue-code *, so you are not coupling the
227224important parts of your application.
228225
229- .. _best-practice-controller-annotations :
226+ .. _best-practice-controller-attributes :
230227
231- Use Attributesor Annotations to Configure Routing, Caching, and Security
232- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
228+ Use Attributes to Configure Routing, Caching, and Security
229+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
233230
234- Using attributesor annotations for routing, caching, and security simplifies
231+ Using attributes for routing, caching, and security simplifies
235232configuration. You don't need to browse several files created with different
236233formats (YAML, XML, PHP): all the configuration is just where you require it,
237234and it only uses one format.