mirror of
https://github.com/wallabag/wallabag.git
synced 2024-09-20 18:40:11 +00:00
19 lines
587 B
PHP
19 lines
587 B
PHP
<?php
|
|
|
|
namespace Wallabag\CoreBundle;
|
|
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
use Wallabag\CoreBundle\DependencyInjection\CompilerPass\RegisterWallabagGuzzleSubscribersPass;
|
|
use Wallabag\CoreBundle\Import\ImportCompilerPass;
|
|
|
|
class WallabagCoreBundle extends Bundle
|
|
{
|
|
public function build(ContainerBuilder $container)
|
|
{
|
|
parent::build($container);
|
|
|
|
$container->addCompilerPass(new ImportCompilerPass());
|
|
$container->addCompilerPass(new RegisterWallabagGuzzleSubscribersPass());
|
|
}
|
|
}
|