Completed
Push — 3.8.x ( 12ed2a...d105af )
by Tim
06:29
created

AppKernel::registerBundles()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

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