Completed
Pull Request — master (#812)
by Paul
08:15
created

VictoireAPIBusinessEntityBundle::build()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace Victoire\Bundle\APIBusinessEntityBundle;
4
5
use Symfony\Component\DependencyInjection\ContainerBuilder;
6
use Symfony\Component\HttpKernel\Bundle\Bundle;
7
use Victoire\Bundle\APIBusinessEntityBundle\DependencyInjection\Compiler\APIAuthenticationCompilerPass;
8
9
/**
10
 * {@inheritdoc}
11
 */
12
class VictoireAPIBusinessEntityBundle extends Bundle
13
{
14
    /**
15
     * Build bundle.
16
     *
17
     * @param ContainerBuilder $container
18
     */
19
    public function build(ContainerBuilder $container)
20
    {
21
        parent::build($container);
22
23
        $container->addCompilerPass(new APIAuthenticationCompilerPass());
24
    }
25
}
26