AppKernel   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
c 1
b 0
f 0
lcom 0
cbo 4
dl 0
loc 15
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A registerBundles() 0 7 1
A registerContainerConfiguration() 0 4 1
1
<?php
2
3
namespace Pouzor\MongoDBBundle\Tests\App;
4
5
use Symfony\Component\HttpKernel\Kernel;
6
use Symfony\Component\Config\Loader\LoaderInterface;
7
8
class AppKernel extends Kernel
9
{
10
    public function registerBundles()
11
    {
12
        return [
13
            new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
14
            new \Pouzor\MongoDBBundle\MongoDBBundle(),
15
        ];
16
    }
17
18
    public function registerContainerConfiguration(LoaderInterface $loader)
19
    {
20
        $loader->load(__DIR__.'/config/config.yml');
21
    }
22
}