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
|
|
|
|