TestKernel::registerBundles()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 11
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 7
nc 1
nop 0
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