| Total Complexity | 6 |
| Total Lines | 51 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types = 1); |
||
| 15 | final class Kernel extends BaseKernel |
||
| 16 | { |
||
| 17 | use MicroKernelTrait; |
||
|
|
|||
| 18 | |||
| 19 | /** |
||
| 20 | * @return string |
||
| 21 | */ |
||
| 22 | public function getProjectDir() |
||
| 23 | { |
||
| 24 | return \dirname(__DIR__); |
||
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | public function getCacheDir() |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | public function getLogDir() |
||
| 39 | { |
||
| 40 | return \sys_get_temp_dir().'/com.github.thecatontheflat.atlassian/tests/var'.$this->environment.'/log'; |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @param ContainerConfigurator $container |
||
| 45 | */ |
||
| 46 | public function configureContainer(ContainerConfigurator $container): void |
||
| 47 | { |
||
| 48 | $container->import('../config/{packages}/*.yaml'); |
||
| 49 | $container->import('../config/{services}*.yaml'); |
||
| 50 | } |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @param RoutingConfigurator $routes |
||
| 54 | */ |
||
| 55 | public function configureRoutes(RoutingConfigurator $routes): void |
||
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @param ContainerBuilder $container |
||
| 62 | */ |
||
| 63 | protected function build(ContainerBuilder $container) |
||
| 68 |