KaliopEzFindSearchEngineBundle::build()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Kaliop\EzFindSearchEngineBundle;
4
5
use Symfony\Component\DependencyInjection\ContainerBuilder;
6
use Symfony\Component\HttpKernel\Bundle\Bundle;
7
use Kaliop\EzFindSearchEngineBundle\DependencyInjection\CompilerPass;
8
9
class KaliopEzFindSearchEngineBundle extends Bundle
10
{
11
    public function build(ContainerBuilder $container)
12
    {
13
        parent::build($container);
14
15
        $container->addCompilerPass(new CompilerPass\ContentCriteriaConverterPass());
16
        $container->addCompilerPass(new CompilerPass\ContentFacetConverterPass());
17
        $container->addCompilerPass(new CompilerPass\ContentSortClauseConverterPass());
18
    }
19
}
20