SetonoDAOBundle::build()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 6
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Setono\DAOBundle;
6
7
use Setono\DAOBundle\DependencyInjection\Compiler\RegisterFactoriesPass;
8
use Setono\DAOBundle\DependencyInjection\Compiler\RegisterHttpClientPass;
9
use Symfony\Component\DependencyInjection\ContainerBuilder;
10
use Symfony\Component\HttpKernel\Bundle\Bundle;
11
12
final class SetonoDAOBundle extends Bundle
13
{
14
    public function build(ContainerBuilder $container): void
15
    {
16
        parent::build($container);
17
18
        $container->addCompilerPass(new RegisterFactoriesPass());
19
        $container->addCompilerPass(new RegisterHttpClientPass());
20
    }
21
}
22