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