Completed
Push — wip-subtree ( 04b705...405079 )
by
unknown
12:15
created

BlastCoreBundle::build()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file is part of the Blast Project package.
5
 *
6
 * Copyright (C) 2015-2017 Libre Informatique
7
 *
8
 * This file is licenced under the GNU LGPL v3.
9
 * For the full copyright and license information, please view the LICENSE.md
10
 * file that was distributed with this source code.
11
 */
12
13
namespace Blast\Bundle\CoreBundle;
14
15
use Symfony\Component\DependencyInjection\ContainerBuilder;
16
use Symfony\Component\HttpKernel\Bundle\Bundle;
17
use Blast\Bundle\CoreBundle\DependencyInjection\CodeGeneratorCompilerPass;
18
use Blast\Bundle\CoreBundle\DependencyInjection\DashboardBlocksCompilerPass;
19
20
class BlastCoreBundle extends Bundle
21
{
22
    public function build(ContainerBuilder $container)
23
    {
24
        parent::build($container);
25
26
        $container->addCompilerPass(new CodeGeneratorCompilerPass());
27
        $container->addCompilerPass(new DashboardBlocksCompilerPass());
28
    }
29
}
30