JarobeTaskRunnerBundle::build()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

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