Total Complexity | 5 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class TestKernel extends Kernel |
||
12 | { |
||
13 | public function __construct() |
||
14 | { |
||
15 | parent::__construct('test', true); |
||
16 | |||
17 | $this->tempDir = __DIR__.'/temp'; |
||
|
|||
18 | } |
||
19 | |||
20 | public function registerBundles() |
||
21 | { |
||
22 | return [ |
||
23 | new FrameworkBundle(), |
||
24 | new SensioFrameworkExtraBundle(), |
||
25 | new DevmachineServicesInjectorBundle(), |
||
26 | ]; |
||
27 | } |
||
28 | |||
29 | public function getCacheDir() |
||
30 | { |
||
31 | return $this->tempDir.'/cache'; |
||
32 | } |
||
33 | |||
34 | public function getLogDir() |
||
37 | } |
||
38 | |||
39 | public function registerContainerConfiguration(LoaderInterface $loader) |
||
42 | } |
||
43 | } |
||
44 |