diff --git a/BillingBundle/BillingBundle.php b/BillingBundle/BillingBundle.php index 20f1bf7..923fc2f 100644 --- a/BillingBundle/BillingBundle.php +++ b/BillingBundle/BillingBundle.php @@ -9,6 +9,7 @@ namespace Bluesquare\BillingBundle; +use Bluesquare\BillingBundle\DependencyInjection\BillingExtension; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\HttpKernel\Bundle\Bundle; @@ -18,4 +19,11 @@ class BillingBundle extends Bundle { parent::build($container); } + + public function getContainerExtension() + { + if (null === $this->extension) + $this->extension = new BillingExtension(); + return $this->extension; + } }