IvoryGoogleMapBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 8

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 8
dl 0
loc 16
ccs 8
cts 8
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 10 1
1
<?php
2
3
/*
4
 * This file is part of the Ivory Google Map bundle package.
5
 *
6
 * (c) Eric GELOEN <[email protected]>
7
 *
8
 * For the full copyright and license information, please read the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Ivory\GoogleMapBundle;
13
14
use Ivory\GoogleMapBundle\DependencyInjection\Compiler\CleanTemplatingPass;
15
use Ivory\GoogleMapBundle\DependencyInjection\Compiler\PublicForTestsCompilerPass;
16
use Ivory\GoogleMapBundle\DependencyInjection\Compiler\RegisterControlRendererPass;
17
use Ivory\GoogleMapBundle\DependencyInjection\Compiler\RegisterExtendableRendererPass;
18
use Ivory\GoogleMapBundle\DependencyInjection\Compiler\RegisterFormResourcePass;
19
use Ivory\GoogleMapBundle\DependencyInjection\Compiler\RegisterHelperListenerPass;
20
use Symfony\Component\DependencyInjection\ContainerBuilder;
21
use Symfony\Component\HttpKernel\Bundle\Bundle;
22
23
/**
24
 * @author GeLo <[email protected]>
25
 */
26
class IvoryGoogleMapBundle extends Bundle
27
{
28
    /**
29
     * {@inheritdoc}
30
     */
31 75
    public function build(ContainerBuilder $container)
32
    {
33
        $container
34 75
            ->addCompilerPass(new CleanTemplatingPass())
35 75
            ->addCompilerPass(new RegisterControlRendererPass())
36 75
            ->addCompilerPass(new RegisterExtendableRendererPass())
37 75
            ->addCompilerPass(new RegisterFormResourcePass())
38 75
            ->addCompilerPass(new RegisterHelperListenerPass())
39 75
            ->addCompilerPass(new PublicForTestsCompilerPass());
40 75
    }
41
}
42