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

BlastCoreBundle   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 4
dl 0
loc 10
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 7 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