Completed
Push — master ( 8154dc...9eb347 )
by Tomáš
04:57
created

AppKernel::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Symplify\ControllerAutowire\Tests;
6
7
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
8
use Symfony\Component\Config\Loader\LoaderInterface;
9
use Symfony\Component\HttpKernel\Kernel;
10
use Symplify\ControllerAutowire\SymplifyControllerAutowireBundle;
11
12
final class AppKernel extends Kernel
13
{
14
    public function __construct()
15
    {
16
        parent::__construct('ControllerAutowire', true);
17
    }
18
19
    public function registerBundles() : array
20
    {
21
        return [
22
            new FrameworkBundle(),
23
            new SymplifyControllerAutowireBundle(),
24
        ];
25
    }
26
27
    public function registerContainerConfiguration(LoaderInterface $loader)
28
    {
29
        $loader->load(__DIR__.'/Resources/config/config.yml');
30
    }
31
}
32