DarkilliantProcessBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 7
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 8 1
1
<?php
2
3
namespace Darkilliant\ProcessBundle;
4
5
use Darkilliant\ProcessBundle\DependencyInjection\CompilerPass\DeprecatedStepCompilerPass;
6
use Darkilliant\ProcessBundle\DependencyInjection\CompilerPass\FilterCompilerPass;
7
use Darkilliant\ProcessBundle\DependencyInjection\CompilerPass\ProcessNotifierCompilerPass;
8
use Darkilliant\ProcessBundle\DependencyInjection\CompilerPass\RegisterAliasPublicLoggerCompilerPass;
9
use Darkilliant\ProcessBundle\DependencyInjection\CompilerPass\RemoveUnconfigurableStepCompilerPass;
10
use Symfony\Component\DependencyInjection\ContainerBuilder;
11
use Symfony\Component\HttpKernel\Bundle\Bundle;
12
use Darkilliant\ProcessBundle\DependencyInjection\CompilerPass\StepIteratorCompilerrPass;
13
14
/**
15
 * @internal
16
 * Class DarkilliantProcessBundle
17
 *
18
 * @codeCoverageIgnore
19
 */
20
class DarkilliantProcessBundle extends Bundle
21
{
22
    public function build(ContainerBuilder $containerBuilder)
23
    {
24
        $containerBuilder->addCompilerPass(new RegisterAliasPublicLoggerCompilerPass());
25
        $containerBuilder->addCompilerPass(new DeprecatedStepCompilerPass());
26
        $containerBuilder->addCompilerPass(new StepIteratorCompilerrPass());
27
        $containerBuilder->addCompilerPass(new FilterCompilerPass());
28
        $containerBuilder->addCompilerPass(new RemoveUnconfigurableStepCompilerPass());
29
        $containerBuilder->addCompilerPass(new ProcessNotifierCompilerPass());
30
    }
31
}
32