<?php
/**
* @author Léo BANNHOLTZER (contact@scaledev.fr)
* @copyright 2021 - ScaleDEV SAS, 12 RUE CHARLES MORET, 10120 ST ANDRE LES VERGERS
* @license commercial
*/
declare(strict_types=1);
namespace Bluue\UtilityBillsBundle;
use Bluue\UtilityBillsBundle\DependencyInjection\Compiler\UtilityBillsConfigurationPass;
use Symfony\Component\DependencyInjection\Compiler\PassConfig;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Bluue\UtilityBillsBundle\DependencyInjection\UtilityBillsExtension;
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
class UtilityBillsBundle extends Bundle
{
public function build(ContainerBuilder $container): void
{
parent::build($container);
$container->addCompilerPass(new UtilityBillsConfigurationPass(), PassConfig::TYPE_BEFORE_REMOVING);
}
public function getContainerExtension(): ?ExtensionInterface
{
return new UtilityBillsExtension();
}
/**
* @return string
*/
public function getPublicName(): string
{
return 'Module Facture Fournisseur';
}
}