SymballReportBundle::build()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 8
rs 9.4285
cc 1
eloc 5
nc 1
nop 1
1
<?php
2
3
/*
4
 * This file is part of the ReportBundle package
5
 * 
6
 * (c) symball <http://simonball.me>
7
 * 
8
 * For the full copyright and license information, please view the LICENSE file 
9
 * that was distributed with this source code.
10
 */
11
12
namespace Symball\ReportBundle;
13
14
use Symfony\Component\HttpKernel\Bundle\Bundle;
15
use Symfony\Component\DependencyInjection\ContainerBuilder;
16
17
use Symball\ReportBundle\DependencyInjection\Compiler\ReportPatternPass;
18
use Symball\ReportBundle\DependencyInjection\Compiler\ReportQueryPass;
19
use Symball\ReportBundle\DependencyInjection\Compiler\ReportStylePass;
20
21
class SymballReportBundle extends Bundle
22
{
23
    public function build(ContainerBuilder $container)
24
    {
25
        parent::build($container);
26
27
        $container->addCompilerPass(new ReportPatternPass());
28
        $container->addCompilerPass(new ReportQueryPass());
29
        $container->addCompilerPass(new ReportStylePass());
30
    }
31
}
32