mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
refs #224 Some parts have evolved from issue, we should rethink some parts of the design
21 lines
712 B
PHP
21 lines
712 B
PHP
<?php
|
|
|
|
namespace Chill\MainBundle;
|
|
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
use Chill\MainBundle\DependencyInjection\SearchableServicesCompilerPass;
|
|
use Chill\MainBundle\DependencyInjection\ConfigConsistencyCompilerPass;
|
|
use Chill\MainBundle\DependencyInjection\TimelineCompilerClass;
|
|
|
|
class ChillMainBundle extends Bundle
|
|
{
|
|
public function build(ContainerBuilder $container)
|
|
{
|
|
parent::build($container);
|
|
$container->addCompilerPass(new SearchableServicesCompilerPass());
|
|
$container->addCompilerPass(new ConfigConsistencyCompilerPass());
|
|
$container->addCompilerPass(new TimelineCompilerClass());
|
|
}
|
|
}
|