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:
687
687
This behavior is enabled by default on all your controllers.
688
688
689
689
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.
693
693
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
696
696
with it by using the `MapEntity options `_ ::
697
697
698
698
// src/Controller/ProductController.php
You can’t perform that action at this time.
0 commit comments