DarkilliantProcessBundle::build()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 6
nc 1
nop 1
dl 0
loc 8
rs 10
c 0
b 0
f 0
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