2015-10-20 13:58:13 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace Wallabag\ImportBundle;
|
|
|
|
|
|
|
|
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
2015-12-31 11:24:46 +01:00
|
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
|
|
|
use Wallabag\ImportBundle\Import\ImportCompilerPass;
|
2015-10-20 13:58:13 +02:00
|
|
|
|
|
|
|
|
class WallabagImportBundle extends Bundle
|
|
|
|
|
{
|
2015-12-31 11:24:46 +01:00
|
|
|
public function build(ContainerBuilder $container)
|
|
|
|
|
{
|
|
|
|
|
parent::build($container);
|
|
|
|
|
|
|
|
|
|
$container->addCompilerPass(new ImportCompilerPass());
|
|
|
|
|
}
|
2015-10-20 13:58:13 +02:00
|
|
|
}
|