Completed
Push — master ( 5472e0...10da27 )
by Eric
18:09 queued 11:39
created

LugTranslationBundle   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the Lug 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 Lug\Bundle\TranslationBundle;
13
14
use Lug\Bundle\TranslationBundle\DependencyInjection\Compiler\ConfigureFactoryPass;
15
use Symfony\Component\DependencyInjection\ContainerBuilder;
16
use Symfony\Component\HttpKernel\Bundle\Bundle;
17
18
/**
19
 * @author GeLo <[email protected]>
20
 */
21
class LugTranslationBundle extends Bundle
22
{
23
    /**
24
     * {@inheritdoc}
25
     */
26
    public function build(ContainerBuilder $container)
27
    {
28
        $container->addCompilerPass(new ConfigureFactoryPass());
29
    }
30
}
31