From 20fd587b416bfd2ce3e9bc744c1b295b68aa919b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edi=20Modri=C4=87?= Date: Tue, 21 Feb 2017 11:12:18 +0100 Subject: [PATCH] Override Bundle::getContainerExtension to disable LogicException with extension name (#21) --- bundle/EzSystemsEzContentOnTheFlyBundle.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bundle/EzSystemsEzContentOnTheFlyBundle.php b/bundle/EzSystemsEzContentOnTheFlyBundle.php index bfc8dd3..6d17d7e 100644 --- a/bundle/EzSystemsEzContentOnTheFlyBundle.php +++ b/bundle/EzSystemsEzContentOnTheFlyBundle.php @@ -5,9 +5,18 @@ */ namespace EzSystems\EzContentOnTheFlyBundle; +use EzSystems\EzContentOnTheFlyBundle\DependencyInjection\ContentOnTheFlyExtension; use Symfony\Component\HttpKernel\Bundle\Bundle; class EzSystemsEzContentOnTheFlyBundle extends Bundle { protected $name = 'ContentOnTheFlyBundle'; + + /** + * {@inheritdoc} + */ + public function getContainerExtension() + { + return new ContentOnTheFlyExtension(); + } }