NorsysLogsBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 5 1
1
<?php
2
3
namespace Norsys\LogsBundle;
4
5
use Symfony\Component\HttpKernel\Bundle\Bundle;
6
use Symfony\Component\DependencyInjection\ContainerBuilder;
7
8
use Norsys\LogsBundle\DependencyInjection\Compiler\LoggerAwarePass;
9
10
/**
11
 * Class NorsysLogsBundle
12
 */
13
class NorsysLogsBundle extends Bundle
14
{
15
    /**
16
     * @param ContainerBuilder $container
17
     */
18
    public function build(ContainerBuilder $container)
19
    {
20
        parent::build($container);
21
22
        $container->addCompilerPass(new LoggerAwarePass());
23
    }
24
}
25