Completed
Pull Request — master (#374)
by Leny
06:16
created

VictoireI18nBundle::build()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 5
rs 9.4285
c 1
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace Victoire\Bundle\I18nBundle;
4
5
use Symfony\Component\DependencyInjection\ContainerBuilder;
6
use Symfony\Component\HttpKernel\Bundle\Bundle;
7
use Victoire\Bundle\I18nBundle\DependencyInjection\Compiler\I18nCompilerPass;
8
9
class VictoireI18nBundle extends Bundle
10
{
11
    /**
12
     * Build bundle.
13
     *
14
     * @param ContainerBuilder $container
15
     */
16
    public function build(ContainerBuilder $container)
17
    {
18
        parent::build($container);
19
        $container->addCompilerPass(new I18nCompilerPass());
20
    }
21
}
22