Oliverde8PhpEtlBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 6
c 1
b 0
f 0
dl 0
loc 13
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 8 1
1
<?php
2
3
namespace Oliverde8\PhpEtlBundle;
4
5
use Oliverde8\PhpEtlBundle\DependencyInjection\Compiler\ChainBuilderCompiler;
6
use Oliverde8\PhpEtlBundle\DependencyInjection\Compiler\ChainCompiler;
7
use Oliverde8\PhpEtlBundle\DependencyInjection\Compiler\ChainParameterCompiler;
8
use Oliverde8\PhpEtlBundle\DependencyInjection\Compiler\RuleEngineCompiler;
9
use Symfony\Component\DependencyInjection\ContainerBuilder;
10
use Symfony\Component\HttpKernel\Bundle\Bundle;
11
12
class Oliverde8PhpEtlBundle extends Bundle
13
{
14
    /**
15
     * @param ContainerBuilder $container
16
     */
17
    public function build(ContainerBuilder $container)
18
    {
19
        parent::build($container);
20
21
        $container->addCompilerPass(new ChainBuilderCompiler());
22
        $container->addCompilerPass(new RuleEngineCompiler());
23
        $container->addCompilerPass(new ChainParameterCompiler());
24
        $container->addCompilerPass(new ChainCompiler());
25
    }
26
27
}
28