GoetasTwitalBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 7

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 7
dl 0
loc 11
rs 10
c 0
b 0
f 0
ccs 6
cts 6
cp 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 8 1
1
<?php
2
3
namespace Goetas\TwitalBundle;
4
5
use Goetas\TwitalBundle\DependencyInjection\Compiler\AddExtensionsPass;
6
use Goetas\TwitalBundle\DependencyInjection\Compiler\JMSTranslationBundlePass;
7
use Goetas\TwitalBundle\DependencyInjection\Compiler\TemplateResourcesPass;
8
use Goetas\TwitalBundle\DependencyInjection\Compiler\TemplatingPass;
9
use Goetas\TwitalBundle\DependencyInjection\Compiler\TwigPass;
10
use Symfony\Component\DependencyInjection\ContainerBuilder;
11
use Symfony\Component\HttpKernel\Bundle\Bundle;
12
13
/**
14
 *
15
 * @author Asmir Mustafic <[email protected]>
16
 *
17
 */
18
class GoetasTwitalBundle extends Bundle
19 7
{
20
    public function build(ContainerBuilder $container)
21 7
    {
22 7
        $container->addCompilerPass(new AddExtensionsPass());
23 7
        $container->addCompilerPass(new TwigPass());
24 7
        $container->addCompilerPass(new TemplatingPass());
25 7
        $container->addCompilerPass(new TemplateResourcesPass());
26
        $container->addCompilerPass(new JMSTranslationBundlePass());
27
    }
28
}
29