This commit is contained in:
PaulCombal
2019-03-01 12:18:06 +01:00
commit 14ac7fe69a
11 changed files with 282 additions and 0 deletions

25
TestBundle/TestBundle.php Normal file
View File

@@ -0,0 +1,25 @@
<?php
namespace Bluesquare\TestBundle;
use Bluesquare\TestBundle\Entity\BillingInvoice;
use Bluesquare\TestBundle\Repository\BillingInvoiceRepository;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Bluesquare\TestBundle\DependencyInjection\TestExtension;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class TestBundle extends Bundle
{
public function build(ContainerBuilder $container)
{
parent::build($container);
}
public function getContainerExtension()
{
if (null === $this->extension)
$this->extension = new TestExtension();
return $this->extension;
}
}