You are browsing the documentation for Symfony 2.6 which is not maintained anymore.

Consider upgrading your projects to Symfony 5.3.

Symfony Book

Prepared by the core team, this is the Symfony bible. It is the reference for any user of the platform, who will typically want to keep it close at hand.

This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.