oliverde8ComfyBundle::build()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
eloc 4
c 2
b 0
f 1
dl 0
loc 7
rs 10
cc 1
nc 1
nop 1
1
<?php
2
/**
3
 * @author    oliverde8<[email protected]>
4
 * @category  kit-v2-symfony
5
 */
6
7
namespace oliverde8\ComfyBundle;
8
9
use oliverde8\ComfyBundle\DependencyInjection\Compiler\ConfigPass;
10
use oliverde8\ComfyBundle\DependencyInjection\Compiler\FormTypePass;
11
use oliverde8\ComfyBundle\DependencyInjection\Compiler\LocaleScopePass;
12
use Symfony\Component\DependencyInjection\ContainerBuilder;
13
use Symfony\Component\HttpKernel\Bundle\Bundle;
14
15
class oliverde8ComfyBundle extends Bundle
16
{
17
18
    /**
19
     * @param ContainerBuilder $container
20
     */
21
    public function build(ContainerBuilder $container)
22
    {
23
        parent::build($container);
24
25
        $container->addCompilerPass(new ConfigPass());
26
        $container->addCompilerPass(new FormTypePass());
27
        $container->addCompilerPass(new LocaleScopePass());
28
    }
29
}