NorsysLogsBundle::build()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 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