Completed
Pull Request — master (#6)
by Antonio
03:35
created

FlagbitProductClonerBundle   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 4 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