[FrameworkBundle] update upgrade instructions

This commit is contained in:
Christian Flothmann 2016-05-17 18:47:41 +02:00
parent 797e83fd2e
commit 187b645615
1 changed files with 5 additions and 0 deletions

View File

@ -636,6 +636,11 @@ UPGRADE FROM 2.x to 3.0
be removed in Symfony 3.0. Use the `debug:config`, `debug:container`,
`debug:router`, `debug:translation` and `lint:yaml` commands instead.
* The base `Controller`class is now abstract.
* The visibility of all methods of the base `Controller` class has been changed from
`public` to `protected`.
* The `getRequest` method of the base `Controller` class has been deprecated
since Symfony 2.4 and must be therefore removed in 3.0. The only reliable
way to get the `Request` object is to inject it in the action method.