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

AppKernel   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4
Metric Value
wmc 2
lcom 0
cbo 4
dl 0
loc 21
rs 10
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