Total Complexity | 4 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
23 | class MajimaKernel extends Kernel |
||
24 | { |
||
25 | /** |
||
26 | * @return array |
||
27 | */ |
||
28 | public function registerBundles() |
||
29 | { |
||
30 | $bundles = [ |
||
31 | new FrameworkBundle(), |
||
32 | new SecurityBundle(), |
||
33 | new MajimaBundle(), |
||
34 | new PluginBundle(), |
||
35 | ]; |
||
36 | return $bundles; |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @param LoaderInterface $loader |
||
41 | */ |
||
42 | public function registerContainerConfiguration(LoaderInterface $loader) |
||
43 | { |
||
44 | $loader->load(sprintf('%s/../config/config.php', __DIR__, $this->getEnvironment())); |
||
45 | $loader->load(sprintf('%s/../config/security.php', __DIR__)); |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * @return string |
||
50 | */ |
||
51 | public function getLogDir() |
||
52 | { |
||
53 | return __DIR__.'/../var/logs'; |
||
54 | } |
||
55 | |||
56 | /** |
||
57 | * @return string |
||
58 | */ |
||
59 | public function getCacheDir() |
||
62 | } |
||
63 | } |