Skip to content

Commit 187b645

Browse files
committed
[FrameworkBundle] update upgrade instructions
1 parent 797e83f commit 187b645

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

UPGRADE-3.0.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,11 @@ UPGRADE FROM 2.x to 3.0
636636
be removed in Symfony 3.0. Use the `debug:config`, `debug:container`,
637637
`debug:router`, `debug:translation` and `lint:yaml` commands instead.
638638

639+
* The base `Controller`class is now abstract.
640+
641+
* The visibility of all methods of the base `Controller` class has been changed from
642+
`public` to `protected`.
643+
639644
* The `getRequest` method of the base `Controller` class has been deprecated
640645
since Symfony 2.4 and must be therefore removed in 3.0. The only reliable
641646
way to get the `Request` object is to inject it in the action method.

0 commit comments

Comments
 (0)