Completed
Push — master ( d9050f...4ecbc1 )
by Tomáš
05:36
created

AppKernel::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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