1 | <?php |
||
8 | class AppKernel extends Kernel |
||
9 | { |
||
10 | /** |
||
11 | * {@inheritdoc} |
||
12 | */ |
||
13 | public function registerBundles() |
||
14 | { |
||
15 | return array( |
||
16 | new \Sensio\Bundle\FrameworkExtraBundle\SensioFrameworkExtraBundle(), |
||
17 | new \Symfony\Bundle\FrameworkBundle\FrameworkBundle(), |
||
18 | new \Symfony\Bundle\SecurityBundle\SecurityBundle(), |
||
19 | new \Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(), |
||
20 | new \Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), |
||
21 | new \Symfony\Bundle\MonologBundle\MonologBundle(), |
||
22 | new \Symfony\Bundle\TwigBundle\TwigBundle(), |
||
23 | new \Aimeos\ShopBundle\AimeosShopBundle(), |
||
24 | ); |
||
25 | } |
||
26 | |||
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | public function registerContainerConfiguration( LoaderInterface $loader ) |
||
32 | { |
||
33 | $loader->load( __DIR__ . '/config/config.yml' ); |
||
34 | } |
||
35 | |||
36 | |||
37 | /** |
||
38 | * {@inheritdoc} |
||
39 | */ |
||
40 | public function getCacheDir() |
||
41 | { |
||
42 | return sys_get_temp_dir() . '/aimeos-symfony/cache'; |
||
43 | } |
||
44 | |||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function getLogDir() |
||
52 | } |
||
53 | } |
||
54 |