symfony-notifications/NotificationsBundle/NotificationsBundle.php

25 lines
705 B
PHP

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