DoSSettingsBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

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

1 Method

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