[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.
This commit is contained in:
Christophe Coevoet 2012-05-17 12:34:40 +02:00
parent 5314836d3c
commit 11e0d2322c

View File

@ -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.