From 11e0d2322cd1d62265e993d4fc46b257868ae6fa Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Thu, 17 May 2012 12:34:40 +0200 Subject: [PATCH] [HttpKernel] Fixed the BundleInterface The kernel expects bundles to implement ContainerAwareInterface (a fatal error occurs if the method is not implemented). This is done in the base class but not enforced in the interface. --- src/Symfony/Component/HttpKernel/Bundle/BundleInterface.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpKernel/Bundle/BundleInterface.php b/src/Symfony/Component/HttpKernel/Bundle/BundleInterface.php index 99d591f9e3..980b8907c5 100644 --- a/src/Symfony/Component/HttpKernel/Bundle/BundleInterface.php +++ b/src/Symfony/Component/HttpKernel/Bundle/BundleInterface.php @@ -11,7 +11,9 @@ namespace Symfony\Component\HttpKernel\Bundle; +use Symfony\Component\DependencyInjection\ContainerAwareInterface; use Symfony\Component\DependencyInjection\ContainerBuilder; +use Symfony\Component\DependencyInjection\Extension\ExtensionInterface; /** * BundleInterface. @@ -20,7 +22,7 @@ use Symfony\Component\DependencyInjection\ContainerBuilder; * * @api */ -interface BundleInterface +interface BundleInterface extends ContainerAwareInterface { /** * Boots the Bundle.