Completed
Push — master ( 03d150...fc0487 )
by Sander
339:25 queued 287:02
created

LocatingKernelStub::getEnvironment()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
rs 10
c 0
b 0
f 0
nc 1
cc 1
nop 0
1
<?php
2
3
namespace Kunstmaan\PagePartBundle\Tests\unit\PagePartConfigurationReader;
4
5
use Symfony\Component\Config\Loader\LoaderInterface;
6
use Symfony\Component\HttpFoundation\Request;
7
use Symfony\Component\HttpKernel\KernelInterface;
8
9
class LocatingKernelStub implements KernelInterface
10
{
11
12
    public function locateResource($name, $dir = null, $first = true)
13
    {
14
        list (, $path) = explode('/', $name, 2);
15
16
        return __DIR__ . DIRECTORY_SEPARATOR . $path;
17
    }
18
19
    public function serialize(){}
20
21
    public function unserialize($serialized){}
22
23
    public function handle(Request $request, $type = self::MASTER_REQUEST, $catch = true){}
24
25
    public function registerBundles(){}
26
27
    public function registerContainerConfiguration(LoaderInterface $loader){}
28
29
    public function boot(){}
30
31
    public function shutdown(){}
32
33
    public function getBundles(){}
34
35
    public function isClassInActiveBundle($class){}
36
37
    public function getBundle($name, $first = true){}
38
39
    public function getName(){}
40
41
    public function getEnvironment(){}
42
43
    public function isDebug(){}
44
45
    public function getRootDir(){}
46
47
    public function getContainer(){}
48
49
    public function getStartTime(){}
50
51
    public function getCacheDir(){}
52
53
    public function getLogDir(){}
54
55
    public function getCharset(){}
56
}
57