Completed
Pull Request — master (#145)
by Thanos
04:22
created

AppKernel::registerBundles()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
use Symfony\Component\HttpKernel\Kernel;
4
use Symfony\Component\Config\Loader\LoaderInterface;
5
6
/**
7
 * Class AppKernel
8
 */
9
class AppKernel extends Kernel
10
{
11
    /**
12
     * @return array
13
     */
14
    public function registerBundles()
15
    {
16
        return [
17
            new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
18
            new Symfony\Bundle\TwigBundle\TwigBundle(),
19
        ];
20
    }
21
22
    /**
23
     * {@inheritDoc}
24
     */
25
    public function registerContainerConfiguration(LoaderInterface $loader)
26
    {
27
        $loader->load(__DIR__ . '/config.yml');
28
    }
29
}
30