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

DoyoModularBundle   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A build() 0 4 1
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