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

DummyKernel::getAppName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
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