Completed
Pull Request — develop (#605)
by
unknown
14:48
created

GravitonProxyApiBundle   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 3
dl 0
loc 17
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 6 1
1
<?php
2
/**
3
 * Graviton ProxyApi Bundle
4
 */
5
namespace Graviton\ProxyApiBundle;
6
7
use Graviton\ProxyApiBundle\DependencyInjection\Compiler\ServicesCompilerPass;
8
use Symfony\Component\DependencyInjection\ContainerBuilder;
9
use Symfony\Component\HttpKernel\Bundle\Bundle;
10
11
/**
12
 * Bundle for ProxyApi
13
 *
14
 * @author   List of contributors <https://github.com/libgraviton/graviton/graphs/contributors>
15
 * @license  http://opensource.org/licenses/gpl-license.php GNU Public License
16
 * @link     http://swisscom.ch
17
 */
18
class GravitonProxyApiBundle extends Bundle
19
{
20
21
    /**
22
     * load compiler pass
23
     *
24
     * @param ContainerBuilder $container container builder
25
     *
26
     * @return void
27
     */
28 2
    public function build(ContainerBuilder $container)
29
    {
30 2
        parent::build($container);
31
32 2
        $container->addCompilerPass(new ServicesCompilerPass());
33 2
    }
34
}
35