AppKernel::registerContainerConfiguration()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace MyBuilder\Bundle\CronosBundle\Tests\Fixtures\app;
4
5
use MyBuilder\Bundle\CronosBundle\MyBuilderCronosBundle;
6
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
7
use Symfony\Component\HttpKernel\Kernel;
8
use Symfony\Component\Config\Loader\LoaderInterface;
9
10
class AppKernel extends Kernel
11
{
12
    public function registerBundles()
13
    {
14
        return [
15
            new FrameworkBundle(),
16
            new MyBuilderCronosBundle(),
17
        ];
18
    }
19
20
    public function registerContainerConfiguration(LoaderInterface $loader)
21
    {
22
        $loader->load(__DIR__ . '/config/' . $this->getEnvironment() . '.yml');
23
    }
24
}
25