MediapartLaPresseLibreBundle::build()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * This file is part of the Mediapart LaPresseLibre Bundle.
5
 *
6
 * CC BY-NC-SA <https://github.com/mediapart/lapresselibre-bundle>
7
 *
8
 * For the full license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Mediapart\Bundle\LaPresseLibreBundle;
13
14
use Symfony\Component\HttpKernel\Bundle\Bundle;
15
use Symfony\Component\DependencyInjection\ContainerBuilder;
16
use Mediapart\Bundle\LaPresseLibreBundle\DependencyInjection\OperationCompilerPass;
17
18
class MediapartLaPresseLibreBundle extends Bundle
19
{
20
    /**
21
     * @param ContainerBuilder $container
22
     */
23
    public function build(ContainerBuilder $container)
24
    {
25
        parent::build($container);
26
        $container->addCompilerPass(new OperationCompilerPass());
27
    }
28
}
29