Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[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.
  • Loading branch information...
commit e2e0789f90d1078839bb9448d2ac831e944fc2aa 1 parent 57d64d1
@stof stof authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 Bundle/BundleInterface.php
4 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 @@
* @api
-interface BundleInterface
+interface BundleInterface extends ContainerAwareInterface
* Boots the Bundle.
Please sign in to comment.
Something went wrong with that request. Please try again.