[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:
parent
5314836d3c
commit
11e0d2322c
@ -11,7 +11,9 @@
|
|||||||
|
|
||||||
namespace Symfony\Component\HttpKernel\Bundle;
|
namespace Symfony\Component\HttpKernel\Bundle;
|
||||||
|
|
||||||
|
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
|
||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
|
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* BundleInterface.
|
* BundleInterface.
|
||||||
@ -20,7 +22,7 @@ use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|||||||
*
|
*
|
||||||
* @api
|
* @api
|
||||||
*/
|
*/
|
||||||
interface BundleInterface
|
interface BundleInterface extends ContainerAwareInterface
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Boots the Bundle.
|
* Boots the Bundle.
|
||||||
|
Reference in New Issue
Block a user