Completed
Push — master ( 72e61e...983d33 )
by Amy
04:03
created

TestAppKernel::registerContainerConfiguration()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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