TacticsCommandBusBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 6 1
1
<?php
2
3
namespace Tactics\CommandBusBundle;
4
5
use Symfony\Component\DependencyInjection\ContainerBuilder;
6
use Symfony\Component\HttpKernel\Bundle\Bundle;
7
8
use Tactics\CommandBusBundle\DependencyInjection\CommandHandlerPass;
9
10
/**
11
 * Class TacticsCommandBusBundle
12
 * @package Tactics\CommandBusBundle
13
 */
14
class TacticsCommandBusBundle extends Bundle
15
{
16
    /**
17
     * @param ContainerBuilder $container
18
     */
19
    public function build(ContainerBuilder $container)
20
    {
21
        parent::build($container);
22
23
        $container->addCompilerPass(new CommandHandlerPass());
24
    }
25
}
26