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

KGzochaSearcherBundle   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

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

1 Method

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