Completed
Push — master ( 8c68ea...ca6a09 )
by Krzysztof
03:33
created

KGzochaSearcherBundle::build()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 0 Features 0
Metric Value
c 3
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace KGzocha\Bundle\SearcherBundle;
4
5
use KGzocha\Bundle\SearcherBundle\DependencyInjection\ContextsCompilerPass;
6
use Symfony\Component\DependencyInjection\ContainerBuilder;
7
use Symfony\Component\HttpKernel\Bundle\Bundle;
8
9
/**
10
 * @author Krzysztof Gzocha <[email protected]>
11
 * @package KGzocha\Bundle\SearcherBundle
12
 */
13
class KGzochaSearcherBundle extends Bundle
14
{
15
    /**
16
     * @param ContainerBuilder $container
17
     */
18
    public function build(ContainerBuilder $container)
19
    {
20
        parent::build($container);
21
        $container->addCompilerPass(new ContextsCompilerPass());
22
    }
23
}
24