You are browsing the documentation for Symfony 4.2 which is not maintained anymore.
Consider upgrading your projects to Symfony 5.2.
The official Symfony documentation is published only in English. You can read about the reasons in this blog post.
We have taken steps to improve the experience when using Google Translate to prevent code blocks from being translated.
To translate any page in our documentation please copy any URL from the documentation and paste it into the form on the Google Translate site.
This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.