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

DtcQueueBundle   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 3
dl 0
loc 9
rs 10

1 Method

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