You've already forked symfony-billing
register extension
This commit is contained in:
@@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user