SymballReportBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 5

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 5
dl 0
loc 11
rs 10

1 Method

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