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

BdfQueueBundle   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 8
ccs 2
cts 2
cp 1
rs 10
wmc 1

1 Method

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