Completed
Push — master ( d9d7ff...fc66c8 )
by ANTHONIUS
19s queued 11s
created

DoyoModularBundle::build()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
/*
4
 * This file is part of the ModularBundle project.
5
 *
6
 * (c) Anthonius Munthi <https://itstoni.com>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
declare(strict_types=1);
13
14
namespace Doyo\Bundle\Modular;
15
16
use Doyo\Bundle\Modular\Compiler\ServiceConfiguratorPass;
17
use Symfony\Component\DependencyInjection\ContainerBuilder;
18
use Symfony\Component\HttpKernel\Bundle\Bundle;
19
20
class DoyoModularBundle extends Bundle
21
{
22
    public function build(ContainerBuilder $container): void
23
    {
24
        parent::build($container);
25
        $container->addCompilerPass(new ServiceConfiguratorPass());
26
    }
27
}
28