From 187b64561586b81a0c8896328826cbe5dcb51e5a Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Tue, 17 May 2016 18:47:41 +0200 Subject: [PATCH] [FrameworkBundle] update upgrade instructions --- UPGRADE-3.0.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/UPGRADE-3.0.md b/UPGRADE-3.0.md index 8925b91189..327a36bf93 100644 --- a/UPGRADE-3.0.md +++ b/UPGRADE-3.0.md @@ -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.