AppKernel::registerContainerConfiguration()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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