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

AppKernel   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
c 1
b 0
f 0
lcom 0
cbo 4
dl 0
loc 20
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A registerBundles() 0 7 1
A registerContainerConfiguration() 0 4 1
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