SetonoDAOBundle   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 8
rs 10
wmc 1

1 Method

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