DoSUserBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4

Importance

Changes 9
Bugs 0 Features 3
Metric Value
wmc 1
c 9
b 0
f 3
lcom 0
cbo 4
dl 0
loc 13
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 7 1
1
<?php
2
3
namespace DoS\UserBundle;
4
5
use DoS\ResourceBundle\DependencyInjection\AbstractResourceBundle;
6
use DoS\UserBundle\DependencyInjection\Compiler;
7
use Symfony\Component\DependencyInjection\ContainerBuilder;
8
9
class DoSUserBundle extends AbstractResourceBundle
10
{
11
    /**
12
     * {@inheritdoc}
13
     */
14
    public function build(ContainerBuilder $container)
15
    {
16
        parent::build($container);
17
18
        $container->addCompilerPass(new Compiler\SyliusOverridePass());
19
        $container->addCompilerPass(new Compiler\ConfirmationPass());
20
    }
21
}
22