Completed
Pull Request — master (#37)
by Tobias
83:58 queued 59:44
created

HttplugBundle   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 2
Bugs 0 Features 1
Metric Value
wmc 1
c 2
b 0
f 1
lcom 0
cbo 3
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 6 1
1
<?php
2
3
namespace Http\HttplugBundle;
4
5
use Http\HttplugBundle\DependencyInjection\CompilerPass\PluginPass;
6
use Symfony\Component\DependencyInjection\ContainerBuilder;
7
use Symfony\Component\HttpKernel\Bundle\Bundle;
8
9
/**
10
 * @author David Buchmann <[email protected]>
11
 * @author Tobias Nyholm <[email protected]>
12
 */
13
class HttplugBundle extends Bundle
14
{
15
    /**
16
     * {@inheritdoc}
17
     */
18
    public function build(ContainerBuilder $container)
19
    {
20
        parent::build($container);
21
22
        $container->addCompilerPass(new PluginPass());
23
    }
24
}
25