File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -687,12 +687,12 @@ Automatic fetching works in these situations:
687687This behavior is enabled by default on all your controllers.
688688
689689You 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
696696with it by using the `MapEntity options `_ ::
697697
698698 // src/Controller/ProductController.php
You can’t perform that action at this time.
0 commit comments