symfony-billing/BillingBundle/BillingBundle.php

30 lines
626 B
PHP
Raw Permalink Normal View History

2019-02-28 15:51:25 +01:00
<?php
/**
* Created by PhpStorm.
* User: loann
* Date: 28/02/19
* Time: 15:27
*/
namespace Bluesquare\BillingBundle;
2019-07-18 12:23:14 +02:00
use Bluesquare\BillingBundle\DependencyInjection\BillingExtension;
2019-02-28 15:51:25 +01:00
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class BillingBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
parent::build($container);
}
2019-07-18 12:23:14 +02:00
public function getContainerExtension()
{
if (null === $this->extension)
$this->extension = new BillingExtension();
return $this->extension;
}
2019-02-28 15:51:25 +01:00
}