1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
use Symfony\Component\HttpKernel\Kernel; |
4
|
|
|
use Symfony\Component\Config\Loader\LoaderInterface; |
5
|
|
|
|
6
|
|
|
class ModeraBackendSecurityAppKernel extends \Modera\FoundationBundle\Testing\AbstractFunctionalKernel |
7
|
|
|
{ |
8
|
|
|
public function registerBundles() |
9
|
|
|
{ |
10
|
|
|
return array( |
11
|
|
|
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(), |
12
|
|
|
new Symfony\Bundle\SecurityBundle\SecurityBundle(), |
13
|
|
|
new Symfony\Bundle\TwigBundle\TwigBundle(), |
14
|
|
|
new Doctrine\Bundle\DoctrineBundle\DoctrineBundle(), |
15
|
|
|
new Modera\TranslationsBundle\ModeraTranslationsBundle(), |
16
|
|
|
new Symfony\Bundle\SwiftmailerBundle\SwiftmailerBundle(), |
17
|
|
|
|
18
|
|
|
new Sli\ExtJsIntegrationBundle\SliExtJsIntegrationBundle(), |
19
|
|
|
new Sli\AuxBundle\SliAuxBundle(), |
20
|
|
|
new Sli\ExpanderBundle\SliExpanderBundle($this), |
21
|
|
|
|
22
|
|
|
new Modera\FoundationBundle\ModeraFoundationBundle(), |
23
|
|
|
new Modera\MjrIntegrationBundle\ModeraMjrIntegrationBundle(), |
24
|
|
|
|
25
|
|
|
new Modera\DirectBundle\ModeraDirectBundle(), |
26
|
|
|
new Modera\SecurityBundle\ModeraSecurityBundle(), |
27
|
|
|
new Modera\BackendToolsBundle\ModeraBackendToolsBundle(), |
28
|
|
|
new Modera\ActivityLoggerBundle\ModeraActivityLoggerBundle(), |
29
|
|
|
|
30
|
|
|
new Modera\ServerCrudBundle\ModeraServerCrudBundle(), |
31
|
|
|
|
32
|
|
|
new Modera\BackendSecurityBundle\ModeraBackendSecurityBundle(), |
33
|
|
|
); |
34
|
|
|
} |
35
|
|
|
} |
36
|
|
|
|