wallabag/src/Wallabag/CoreBundle/WallabagCoreBundle.php

20 lines
587 B
PHP
Raw Normal View History

<?php
namespace Wallabag\CoreBundle;
2024-01-01 16:05:20 +00:00
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;
use Wallabag\CoreBundle\DependencyInjection\CompilerPass\RegisterWallabagGuzzleSubscribersPass;
2024-01-01 16:05:20 +00:00
use Wallabag\CoreBundle\Import\ImportCompilerPass;
class WallabagCoreBundle extends Bundle
{
2024-01-01 16:05:20 +00:00
public function build(ContainerBuilder $container)
{
parent::build($container);
$container->addCompilerPass(new ImportCompilerPass());
$container->addCompilerPass(new RegisterWallabagGuzzleSubscribersPass());
2024-01-01 16:05:20 +00:00
}
}