AppKernel   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 25
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A registerContainerConfiguration() 0 2 1
A registerBundles() 0 9 1
1
<?php
2
3
namespace Sitetheory\Bundle\ProfilerStorageBundle\Tests\Functional\app;
4
5
use Symfony\Component\Config\Loader\LoaderInterface;
6
use Symfony\Component\HttpKernel\Bundle\BundleInterface;
7
use Symfony\Component\HttpKernel\Kernel;
8
9
/**
10
 * Class AppKernel.
11
 */
12
class AppKernel extends Kernel
13
{
14
    /**
15
     * Returns an array of bundles to register.
16
     *
17
     * @return BundleInterface[]|iterable An iterable of bundle instances
18
     */
19
    public function registerBundles()
20
    {
21
        $bundles = array(
22
            // ...
23
24
            new \Sitetheory\Bundle\ProfilerStorageBundle\SitetheoryProfilerStorageBundle(),
25
        );
26
27
        return $bundles;
28
    }
29
30
    /**
31
     * Loads the container configuration.
32
     *
33
     * @param LoaderInterface $loader
34
     */
35
    public function registerContainerConfiguration(LoaderInterface $loader)
36
    {
37
        // TODO: Implement registerContainerConfiguration() method.
38
    }
39
}
40