Skip to content

Commit 83f8d4d

Browse files
committed
Fix build
1 parent 36be15a commit 83f8d4d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doctrine.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -687,12 +687,12 @@ Automatic fetching works in these situations:
687687
This behavior is enabled by default on all your controllers.
688688

689689
You can only allow the use of the primary key ``id`` as a lookup placeholder
690-
as a route parameter by setting ``doctrine.orm.controller_resolver.auto_mapping``
691-
config option to ``false``. The others attributes will not be used to autowire
692-
the entity.
690+
for the routes parameters by setting ``doctrine.orm.controller_resolver.auto_mapping``
691+
config option to ``false``. The others entity attributes than ``id`` can't be used
692+
to autowire the entity.
693693

694-
When disabled, you can enable it individually on the desired controllers by
695-
using the ``MapEntity`` attribute. You can control `EntityValueResolver` behavior
694+
When disabled, you can enable the entity autowiring individually on the desired controllers
695+
by using the ``MapEntity`` attribute. You can control ``EntityValueResolver`` behavior
696696
with it by using the `MapEntity options`_ ::
697697

698698
// src/Controller/ProductController.php

0 commit comments

Comments
 (0)