Upgrade notice for the Controller::json() method.

This commit is contained in:
Alexander M. Turek 2016-03-30 19:57:28 +02:00 committed by Alexander M. Turek
parent 6dbda505bf
commit ca6694ab19

View File

@ -26,6 +26,11 @@ FrameworkBundle
* As it was never an officially supported feature, the support for absolute * As it was never an officially supported feature, the support for absolute
template paths has been deprecated and will be removed in Symfony 4.0. template paths has been deprecated and will be removed in Symfony 4.0.
* The abstract `Controller` class now has a `json()` helper method that creates
a `JsonResponse`. If you have existing controllers extending `Controller`
that contain a method with this name, you need to rename that method to avoid
conflicts.
* The following form types registered as services have been deprecated and * The following form types registered as services have been deprecated and
will be removed in Symfony 4.0; use their fully-qualified class name instead: will be removed in Symfony 4.0; use their fully-qualified class name instead: