mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 21:34:25 +00:00
26 lines
710 B
PHP
26 lines
710 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/*
|
|
* Chill is a software for social workers
|
|
*
|
|
* For the full copyright and license information, please view
|
|
* the LICENSE file that was distributed with this source code.
|
|
*/
|
|
|
|
namespace Chill\BudgetBundle;
|
|
|
|
use Chill\BudgetBundle\DependencyInjection\Compiler\CalculatorCompilerPass;
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
|
|
class ChillBudgetBundle extends Bundle
|
|
{
|
|
public function build(\Symfony\Component\DependencyInjection\ContainerBuilder $container)
|
|
{
|
|
parent::build($container);
|
|
|
|
$container->addCompilerPass(new CalculatorCompilerPass(), \Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_BEFORE_OPTIMIZATION, 0);
|
|
}
|
|
}
|