Completed
Push — master ( fb754a...2a3626 )
by Antonio
03:49
created

FlagbitProductClonerBundle::build()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Flagbit\Bundle\ProductClonerBundle;
4
5
use Flagbit\Bundle\ProductClonerBundle\DependencyInjection\Compiler\LegacyServicePass;
6
use Symfony\Component\HttpKernel\Bundle\Bundle;
7
use Symfony\Component\DependencyInjection\ContainerBuilder;
8
9
class FlagbitProductClonerBundle extends Bundle
10
{
11
    public function build(ContainerBuilder $container)
12
    {
13
        parent::build($container);
14
        $container->addCompilerPass(new LegacyServicePass());
15
    }
16
}
17