JarobeTaskRunnerBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 4
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 6 1
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
}