8000 Upgrade notice for the Controller::json() method. · symfony/symfony@34e72e0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 34e72e0

Browse files
committed
Upgrade notice for the Controller::json() method.
1 parent 06eb52c commit 34e72e0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

UPGRADE-3.1.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ FrameworkBundle
2424

2525
* As it was never an officially supported feature, the support for absolute
2626
template paths has been deprecated and will be removed in Symfony 4.0.
27+
* The abstract `Controller` class now has a `json()` helper method that creates
28+
a `JsonResponse`. If you have existing controllers extending `Controller`
29+
that contain a method with this name, you need to rename that method to avoid
30+
conflicts.
2731

2832
HttpKernel
2933
----------

0 commit comments

Comments
 (0)
0