Completed
Push — master ( 709dbb...f12a68 )
by Tobias
09:11
created

BazingaGeocoderBundle   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 4
dl 0
loc 13
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 BazingaGeocoderBundle package.
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 *
8
 * @license    MIT License
9
 */
10
11
namespace Bazinga\GeocoderBundle;
12
13
use Bazinga\GeocoderBundle\DependencyInjection\Compiler\AddProvidersPass;
14
use Bazinga\GeocoderBundle\DependencyInjection\Compiler\ProfilerPass;
15
use Symfony\Component\DependencyInjection\ContainerBuilder;
16
use Symfony\Component\HttpKernel\Bundle\Bundle;
17
18
/**
19
 * @author William Durand <[email protected]>
20
 */
21
class BazingaGeocoderBundle extends Bundle
22
{
23
    /**
24
     * {@inheritdoc}
25
     */
26
    public function build(ContainerBuilder $container)
27
    {
28
        parent::build($container);
29
30
        $container->addCompilerPass(new ProfilerPass());
31
        $container->addCompilerPass(new AddProvidersPass());
32
    }
33
}
34