DoSResourceBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 6

Importance

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

1 Method

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