File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -864,7 +864,8 @@ control behavior:
864864Mapped Route Parameters
865865~~~~~~~~~~~~~~~~~~~~~~~
866866
867- When many route parameters are used to find more than one entity, it is mandatory to use #[MapEntity] attributes and this can become cumbersome::
867+ When many route parameters are used to find more than one entity,
868+ it is mandatory to use #[MapEntity] attributes and this can become cumbersome::
868869
869870 #[Route('/document/{slug}/{id}-{name}/')]
870871 public function showDocument(
@@ -918,7 +919,7 @@ In this case we have to return to MapEntiy::
918919 // $category = $categoryRepository->findOneBy(['slug' => 'the slug category']);
919920 }
920921
921- As an alternative, tou can use ``Aliased Mapped Route Parameters ``.
922+ As an alternative, you can use ``Aliased Mapped Route Parameters ``.
922923
923924When adding route parameters, you can now define the mapping between the route parameter and the controller argument with an alias::
924925
You can’t perform that action at this time.
0 commit comments