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

EkinoNewRelicBundle::boot()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 3
nc 2
nop 0
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
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