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

DunglasActionBundle::build()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 0 Features 0
Metric Value
c 3
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 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