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

AppKernel::registerContainerConfiguration()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 1
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\SymplifyControllerAutowireBundle;
9
10
final class AppKernel extends Kernel
11
{
12
    /**
13
     * {@inheritdoc}
14
     */
15
    public function registerBundles()
16
    {
17
        return [
18
            new FrameworkBundle(),
19
            new SymplifyControllerAutowireBundle(),
20
        ];
21
    }
22
23
    /**
24
     * {@inheritdoc}
25
     */
26
    public function registerContainerConfiguration(LoaderInterface $loader)
27
    {
28
        $loader->load(__DIR__.'/Resources/config/config.yml');
29
    }
30
}
31