8000 Using the ParamConverter Symfony 4.0 · TBlindaruk/symfony-docs@87c654c · GitHub
[go: up one dir, main page]

Skip to content

Commit 87c654c

Browse files
authored
Using the ParamConverter Symfony 4.0
symfony/symfony#24891
1 parent b6756ea commit 87c654c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

best_practices/controllers.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ By not fetching services directly from the container, you can make your services
146146
Using the ParamConverter
147147
------------------------
148148

149+
.. hits::
150+
`ParamConverter` is not supported anymore in Symfony 4.0.
151+
Please use the service.
152+
149153
If you're using Doctrine, then you can *optionally* use the `ParamConverter`_
150154
to automatically query for an entity and pass it as an argument to your controller.
151155

0 commit comments

Comments
 (0)
0