Completed
Push — master ( 237979...6c0600 )
by Matthew
07:15
created

DtcQueueBundle::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
c 1
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
namespace Dtc\QueueBundle;
3
4
use Dtc\QueueBundle\DependencyInjection\Compiler\WorkerCompilerPass;
5
6
use Symfony\Component\HttpKernel\Bundle\Bundle;
7
use Symfony\Component\DependencyInjection\ContainerBuilder;
8
9
class DtcQueueBundle
10
	extends Bundle
0 ignored issues
show
Coding Style introduced by
The extends keyword must be on the same line as the class name
Loading history...
11
{
12
    public function build(ContainerBuilder $container)
13
    {
14
        parent::build($container);
15
        $container->addCompilerPass(new WorkerCompilerPass());
16
    }
17
}
18