TestKernel   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 6

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 6
dl 0
loc 25
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A registerBundles() 0 11 1
A registerContainerConfiguration() 0 4 1
1
<?php declare(strict_types = 1);
2
3
use Symfony\Component\Config\Loader\LoaderInterface;
4
use Symfony\Component\HttpKernel\Kernel;
5
6
class TestKernel extends Kernel
7
{
8
    /**
9
     * {@inheritdoc}
10
     */
11
    public function registerBundles()
12
    {
13
        $bundles = [
14
            new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
15
            new Symfony\Bundle\MonologBundle\MonologBundle(),
16
            new KleijnWeb\RestETagBundle\KleijnWebRestETagBundle(),
17
            new KleijnWeb\RestETagBundle\Tests\Functional\Foo\FooBundle()
18
        ];
19
20
        return $bundles;
21
    }
22
23
    /**
24
     * {@inheritdoc}
25
     */
26
    public function registerContainerConfiguration(LoaderInterface $loader)
27
    {
28
        $loader->load(__DIR__ . '/config.yml');
29
    }
30
}
31