Passed
Pull Request — master (#101)
by Damien
02:55
created

DHDoctrineAuditBundle   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
dl 0
loc 7
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 5 1
1
<?php
2
3
namespace DH\DoctrineAuditBundle;
4
5
use DH\DoctrineAuditBundle\DependencyInjection\Compiler\StorageConfigurationCompilerPass;
6
use Symfony\Component\DependencyInjection\ContainerBuilder;
7
use Symfony\Component\HttpKernel\Bundle\Bundle;
8
9
class DHDoctrineAuditBundle extends Bundle
10
{
11
    public function build(ContainerBuilder $container)
12
    {
13
        parent::build($container);
14
15
        $container->addCompilerPass(new StorageConfigurationCompilerPass());
16
    }
17
}
18