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

Consider upgrading your projects to Symfony 5.3.

The Symfony Cookbook

The Symfony Cookbook is a continuously growing collection of specific recipes that explain how to correctly solve the most recurrent problems that Symfony developers face in their day to day work.

2.1 version

The Cookbook

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