Completed
Push — master ( a0c467...7d26e1 )
by Tomáš
05:50
created

AppKernelWithAlias::registerBundles()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 8
rs 9.4286
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
3
namespace Symplify\ControllerAutowire\Tests;
4
5
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
6
use Symfony\Component\Config\Loader\LoaderInterface;
7
use Symfony\Component\HttpKernel\Kernel;
8
use Symplify\ControllerAutowire\Tests\AliasingBundle\AliasingBundle;
9
use Symplify\ControllerAutowire\SymplifyControllerAutowireBundle;
10
11
final class AppKernelWithAlias extends Kernel
12
{
13
    /**
14
     * {@inheritdoc}
15
     */
16
    public function registerBundles()
17
    {
18
        return [
19
            new FrameworkBundle(),
20
            new SymplifyControllerAutowireBundle(),
21
            new AliasingBundle(),
22
        ];
23
    }
24
25
    /**
26
     * {@inheritdoc}
27
     */
28
    public function registerContainerConfiguration(LoaderInterface $loader)
29
    {
30
        $loader->load(__DIR__.'/Resources/config/config.yml');
31
    }
32
}
33