register extension
This commit is contained in:
parent
8336136adc
commit
04a8be5f3b
|
@ -9,6 +9,7 @@
|
||||||
|
|
||||||
namespace Bluesquare\BillingBundle;
|
namespace Bluesquare\BillingBundle;
|
||||||
|
|
||||||
|
use Bluesquare\BillingBundle\DependencyInjection\BillingExtension;
|
||||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||||
|
|
||||||
|
@ -18,4 +19,11 @@ class BillingBundle extends Bundle
|
||||||
{
|
{
|
||||||
parent::build($container);
|
parent::build($container);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getContainerExtension()
|
||||||
|
{
|
||||||
|
if (null === $this->extension)
|
||||||
|
$this->extension = new BillingExtension();
|
||||||
|
return $this->extension;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue