3 namespace Wallabag\ApiBundle
;
5 use Symfony\Component\HttpKernel\Bundle\Bundle
;
6 use Wallabag\ApiBundle\DependencyInjection\Security\Factory\WsseFactory
;
7 use Symfony\Component\DependencyInjection\ContainerBuilder
;
9 class WallabagApiBundle
extends Bundle
11 public function build(ContainerBuilder
$container)
13 parent
::build($container);
15 $extension = $container->getExtension('security');
16 $extension->addSecurityListenerFactory(new WsseFactory());