You are browsing the documentation for Symfony 2.6 which is not maintained anymore.
Consider upgrading your projects to Symfony 5.2.
Recipes about Upgrading
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.
So a new Symfony release has come out and you want to upgrade, great! Fortunately, because Symfony protects backwards-compatibility very closely, this should be quite easy.
There are three types of upgrades, all needing a little different preparation:
- Upgrading a Patch Version (e.g. 2.6.0 to 2.6.1)
- Upgrading a Minor Version (e.g. 2.5.3 to 2.6.1)
- Upgrading a Major Version (e.g. 2.7.0 to 3.0.0)
This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.