VictoireCriteriaBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 3
dl 0
loc 14
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 6 1
1
<?php
2
3
namespace Victoire\Bundle\CriteriaBundle;
4
5
use Symfony\Component\DependencyInjection\ContainerBuilder;
6
use Symfony\Component\HttpKernel\Bundle\Bundle;
7
use Victoire\Bundle\CriteriaBundle\DependencyInjection\Compiler\DataSourceCompilerPass;
8
9
class VictoireCriteriaBundle extends Bundle
0 ignored issues
show
introduced by
Missing class doc comment
Loading history...
10
{
11
    /**
12
     * Build bundle.
13
     *
14
     * @param ContainerBuilder $container
15
     */
16
    public function build(ContainerBuilder $container)
17
    {
18
        parent::build($container);
19
20
        $container->addCompilerPass(new DataSourceCompilerPass());
21
    }
22
}
23