Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 38dd419

Browse files
committed
Deprecate Symfony\Bundle\FrameworkBundle\Controller\Controller
1 parent 6a4de22 commit 38dd419

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

UPGRADE-5.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ FrameworkBundle
9191
* Removed `Symfony\Bundle\FrameworkBundle\Controller\ControllerNameParser`.
9292
* Warming up a router in `RouterCacheWarmer` that does not implement the `WarmableInterface` is not supported anymore.
9393
* The `RequestDataCollector` class has been removed. Use the `Symfony\Component\HttpKernel\DataCollector\RequestDataCollector` class instead.
94+
* Removed `Symfony\Bundle\FrameworkBundle\Controller\Controller`. Use `Symfony\Bundle\FrameworkBundle\Controller\AbstractController` instead.
9495

9596
HttpFoundation
9697
--------------

src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ CHANGELOG
88
* Allowed configuring PDO-based cache pools via a new `cache.adapter.pdo` abstract service
99
* Deprecated auto-injection of the container in AbstractController instances, register them as service subscribers instead
1010
* Deprecated processing of services tagged `security.expression_language_provider` in favor of a new `AddExpressionLanguageProvidersPass` in SecurityBundle.
11+
* Deprecated the `Symfony\Bundle\FrameworkBundle\Controller\Controller` class in favour of `Symfony\Bundle\FrameworkBundle\Controller\AbstractController`.
1112
* Enabled autoconfiguration for `Psr\Log\LoggerAwareInterface`
1213

1314
4.1.0

src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
*
2020
* It provides methods to common features needed in controllers.
2121
*
22+
* @deprecated since Symfony 4.2. Use {@see AbstractController} instead.
23+
*
2224
* @author Fabien Potencier <[email protected]>
2325
*/
2426
abstract class Controller implements ContainerAwareInterface

0 commit comments

Comments
 (0)