]>
Commit | Line | Data |
---|---|---|
ad4d1caa NL |
1 | <?php |
2 | ||
3 | namespace Wallabag\CoreBundle; | |
4 | ||
5 | use Symfony\Component\HttpKernel\Bundle\Bundle; | |
c3235553 NL |
6 | use Wallabag\CoreBundle\DependencyInjection\Security\Factory\WsseFactory; |
7 | use Symfony\Component\DependencyInjection\ContainerBuilder; | |
ad4d1caa NL |
8 | |
9 | class WallabagCoreBundle extends Bundle | |
10 | { | |
c3235553 NL |
11 | public function build(ContainerBuilder $container) |
12 | { | |
13 | parent::build($container); | |
14 | ||
15 | $extension = $container->getExtension('security'); | |
16 | $extension->addSecurityListenerFactory(new WsseFactory()); | |
17 | } | |
ad4d1caa | 18 | } |