WARNING:
You are browsing the documentation for Symfony 5.1 which is not maintained anymore.
Consider upgrading your projects to Symfony 5.2.
How to Use PHP instead of Twig for Templates
This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.