KunstmaanFixturesBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 6

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 6
dl 0
loc 12
ccs 0
cts 8
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 9 1
1
<?php
2
3
namespace Kunstmaan\FixturesBundle;
4
5
use Kunstmaan\FixturesBundle\DependencyInjection\Compiler\BuilderCompilerPass;
6
use Kunstmaan\FixturesBundle\DependencyInjection\Compiler\ParserCompilerPass;
7
use Kunstmaan\FixturesBundle\DependencyInjection\Compiler\PopulatorCompilerPass;
8
use Kunstmaan\FixturesBundle\DependencyInjection\Compiler\ProviderCompilerPass;
9
use Symfony\Component\DependencyInjection\ContainerBuilder;
10
use Symfony\Component\HttpKernel\Bundle\Bundle;
11
12
class KunstmaanFixturesBundle extends Bundle
13
{
14
    public function build(ContainerBuilder $container)
15
    {
16
        parent::build($container);
17
18
        $container->addCompilerPass(new BuilderCompilerPass());
19
        $container->addCompilerPass(new PopulatorCompilerPass());
20
        $container->addCompilerPass(new ParserCompilerPass());
21
        $container->addCompilerPass(new ProviderCompilerPass());
22
    }
23
}
24