FabricaDistributionBundle::build()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
/**
4
 * This file is part of Fabrica.
5
 *
6
 * (c) Alexandre Salomé <[email protected]>
7
 * (c) Julien DIDIER <[email protected]>
8
 *
9
 * This source file is subject to the GPL license that is bundled
10
 * with this source code in the file LICENSE.
11
 */
12
13
namespace Fabrica\Bundle\DistributionBundle;
14
15
use Symfony\Component\DependencyInjection\ContainerBuilder;
16
use Symfony\Component\HttpKernel\Bundle\Bundle;
17
18
use Fabrica\Bundle\DistributionBundle\DependencyInjection\CompilerPass\AddStepToListPass;
19
20
class FabricaDistributionBundle extends Bundle
0 ignored issues
show
Bug introduced by
There is one abstract method setContainer in this class; you could implement it, or declare this class as abstract.
Loading history...
21
{
22
    public function build(ContainerBuilder $container)
23
    {
24
        parent::build($container);
25
26
        $container->addCompilerPass(new AddStepToListPass());
27
    }
28
}
29