Total Complexity | 5 |
Total Lines | 47 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
6 | class AppKernel extends Kernel |
||
7 | { |
||
8 | /** |
||
9 | * {@inheritdoc} |
||
10 | */ |
||
11 | public function registerBundles() |
||
12 | { |
||
13 | $bundles = [ |
||
14 | new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(), |
||
15 | new \Cache\AdapterBundle\CacheAdapterBundle(), |
||
16 | new \Http\HttplugBundle\HttplugBundle(), |
||
17 | new \ElevenLabs\ApiServiceBundle\ApiServiceBundle(), |
||
18 | ]; |
||
19 | |||
20 | return $bundles; |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * {@inheritdoc} |
||
25 | */ |
||
26 | public function registerContainerConfiguration(LoaderInterface $loader) |
||
27 | { |
||
28 | $loader->load(__DIR__.'/config/config.yml'); |
||
29 | } |
||
30 | |||
31 | /** |
||
32 | * {@inheritdoc} |
||
33 | */ |
||
34 | public function getCacheDir() |
||
35 | { |
||
36 | return sys_get_temp_dir().'/apiservice-bundle/cache'; |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | */ |
||
42 | public function getLogDir() |
||
43 | { |
||
44 | return sys_get_temp_dir().'/apiservice-bundle/logs'; |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * {@inheritdoc} |
||
49 | */ |
||
50 | protected function getContainerBaseClass() |
||
53 | } |
||
54 | } |
||
55 |