Completed
Push — master ( ca2b28...63943f )
by Sergei
15:00
created

DummyKernel   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 1
dl 0
loc 24
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A registerBundles() 0 3 1
A registerContainerConfiguration() 0 3 1
A getAppName() 0 4 1
A getAppVersion() 0 4 1
1
<?php
2
3
namespace Modera\BackendGoogleAnalyticsBundle\Tests\Fixtures;
4
5
use Symfony\Component\Config\Loader\LoaderInterface;
6
use Symfony\Component\HttpKernel\Kernel;
7
8
/**
9
 * @author    Sergei Lissovski <[email protected]>
10
 * @copyright 2016 Modera Foundation
11
 */
12
class DummyKernel extends Kernel
13
{
14
    public static $appName;
15
16
    public static $appVersion;
17
18
    public function registerBundles()
19
    {
20
    }
21
22
    public function registerContainerConfiguration(LoaderInterface $loader)
23
    {
24
    }
25
26
    public static function getAppName()
27
    {
28
        return self::$appName;
29
    }
30
31
    public static function getAppVersion()
32
    {
33
        return self::$appVersion;
34
    }
35
}
36