Completed
Branch master (a0c467)
by Tomáš
02:00
created

AliasingBundle   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4
Metric Value
wmc 2
lcom 0
cbo 4
dl 0
loc 18
rs 10
1
<?php
2
3
namespace Symplify\ControllerAutowire\Tests\AliasingBundle;
4
5
use Symfony\Component\DependencyInjection\ContainerBuilder;
6
use Symfony\Component\HttpKernel\Bundle\Bundle;
7
use Symplify\ControllerAutowire\Tests\AliasingBundle\DependencyInjection\AliasingExtension;
8
use Symplify\ControllerAutowire\Tests\AliasingBundle\DependencyInjection\Compiler\AliasingCompilerPass;
9
10
final class AliasingBundle extends Bundle
11
{
12
    /**
13
     * {@inheritdoc}
14
     */
15
    public function build(ContainerBuilder $containerBuilder)
16
    {
17
        $containerBuilder->addCompilerPass(new AliasingCompilerPass());
18
    }
19
20
    /**
21
     * {@inheritdoc}
22
     */
23
    public function getContainerExtension()
24
    {
25
        return new AliasingExtension();
26
    }
27
}
28