mirror of
https://github.com/wallabag/wallabag.git
synced 2025-01-04 05:48:41 +00:00
19 lines
492 B
PHP
19 lines
492 B
PHP
|
<?php
|
||
|
|
||
|
namespace Wallabag\ApiBundle;
|
||
|
|
||
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||
|
use Wallabag\ApiBundle\DependencyInjection\Security\Factory\WsseFactory;
|
||
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||
|
|
||
|
class WallabagApiBundle extends Bundle
|
||
|
{
|
||
|
public function build(ContainerBuilder $container)
|
||
|
{
|
||
|
parent::build($container);
|
||
|
|
||
|
$extension = $container->getExtension('security');
|
||
|
$extension->addSecurityListenerFactory(new WsseFactory());
|
||
|
}
|
||
|
}
|