KaliopEzFindSearchEngineBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 5

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 5
dl 0
loc 11
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 8 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