]> git.immae.eu Git - github/wallabag/wallabag.git/blame_incremental - src/Wallabag/CoreBundle/WallabagCoreBundle.php
create an Entry with a User in parameter
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / WallabagCoreBundle.php
... / ...
CommitLineData
1<?php
2
3namespace Wallabag\CoreBundle;
4
5use Symfony\Component\HttpKernel\Bundle\Bundle;
6use Wallabag\CoreBundle\DependencyInjection\Security\Factory\WsseFactory;
7use Symfony\Component\DependencyInjection\ContainerBuilder;
8
9class WallabagCoreBundle extends Bundle
10{
11 public function build(ContainerBuilder $container)
12 {
13 parent::build($container);
14
15 $extension = $container->getExtension('security');
16 $extension->addSecurityListenerFactory(new WsseFactory());
17 }
18}