Completed
Push — master ( 7cf03b...867c23 )
by Jérémy
9s
created

EkinoNewRelicBundle   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A boot() 0 6 2
1
<?php
2
3
/*
4
 * This file is part of Ekino New Relic bundle.
5
 *
6
 * (c) Ekino - Thomas Rabaix <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Ekino\Bundle\NewRelicBundle;
13
14
use Symfony\Component\HttpKernel\Bundle\Bundle;
15
16
class EkinoNewRelicBundle extends Bundle
17
{
18
    public function boot()
19
    {
20
        parent::boot();
21
22
        if ($this->container->getParameter('ekino.new_relic.log_deprecations')) {
23
            $this->container->get('ekino.new_relic.deprecation_listener')->register();
24
        }
25
    }
26
}
27