Passed
Pull Request — master (#2)
by Vincent
03:17
created

BdfQueueBundle::build()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
3
namespace Bdf\QueueBundle;
4
5
use Bdf\QueueBundle\DependencyInjection\Failer\RegisterFailerDriverPass;
6
use Symfony\Component\DependencyInjection\ContainerBuilder;
7
use Symfony\Component\HttpKernel\Bundle\Bundle;
8
9
/**
10
 * BdfQueueBundle
11
 *
12
 * @author Seb
13
 */
14
class BdfQueueBundle extends Bundle
15
{
16
    /**
17
     * {@inheritdoc}
18
     */
19 6
    public function build(ContainerBuilder $container)
20
    {
21 6
        $container->addCompilerPass(new RegisterFailerDriverPass());
22 6
    }
23
}
24