From 59128a47fcb4dd8c86fdcb3f286cd6bd2ada889c Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Wed, 4 Nov 2015 18:21:25 +0100 Subject: [PATCH] deprecate the ContainerAwareCommand class --- src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md | 1 + .../Bundle/FrameworkBundle/Command/ContainerAwareCommand.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md b/src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md index e7c351813ebc8..04012847b0619 100644 --- a/src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md +++ b/src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md @@ -4,6 +4,7 @@ CHANGELOG 2.8.0 ----- + * Deprecated the `ContainerAwareCommand` class in favor of the `ContainerAwareTrait` * Deprecated the `alias` option of the `form.type_extension` tag in favor of the `extended_type`/`extended-type` option * Deprecated the `alias` option of the `form.type` tag diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/ContainerAwareCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/ContainerAwareCommand.php index 218f816057dfd..839eac89b9637 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/ContainerAwareCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/ContainerAwareCommand.php @@ -19,6 +19,8 @@ * Command. * * @author Fabien Potencier + * + * @deprecated since version 2.8, to be removed in 3.0. Use the ContainerAwareTrait instead. */ abstract class ContainerAwareCommand extends Command implements ContainerAwareInterface {