Completed
Push — master ( 22edb8...c8c69d )
by Kévin
28:31 queued 28:31
created

DunglasActionBundle   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 4 1
1
<?php
2
3
/*
4
 * (c) Kévin Dunglas <[email protected]>
5
 *
6
 * This source file is subject to the MIT license that is bundled
7
 * with this source code in the file LICENSE.
8
 */
9
10
namespace Dunglas\ActionBundle;
11
12
use Dunglas\ActionBundle\DependencyInjection\CompilerPass\RegisterCompilerPass;
13
use Symfony\Component\DependencyInjection\ContainerBuilder;
14
use Symfony\Component\HttpKernel\Bundle\Bundle;
15
16
/**
17
 * @author Kévin Dunglas <[email protected]>
18
 */
19
final class DunglasActionBundle extends Bundle
20
{
21
    /**
22
     * {@inheritdoc}
23
     */
24
    public function build(ContainerBuilder $container)
25
    {
26
        $container->addCompilerPass(new RegisterCompilerPass());
27
    }
28
}
29