MyPoseoBundle::build()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
declare(strict_types=1);
4
5
/**
6
 * MyPoseo API Bundle
7
 *
8
 * @author Tristan Bessoussa <[email protected]>
9
 */
10
11
namespace Tristanbes\MyPoseoBundle;
12
13
use Symfony\Component\DependencyInjection\ContainerBuilder;
14
use Symfony\Component\HttpKernel\Bundle\Bundle;
15
use Tristanbes\MyPoseoBundle\CompilerPass\DynamicServiceCompilerPass;
16
17
/**
18
 * MyPoseo Bundle
19
 */
20
class MyPoseoBundle extends Bundle
21
{
22
    public function build(ContainerBuilder $container): void
23
    {
24
        parent::build($container);
25
26
        $container->addCompilerPass(new DynamicServiceCompilerPass());
27
    }
28
}
29