mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-18 05:36:30 +00:00
7019c7cf6c
- list services in /import - add url to import service - ImportBundle routing are now prefixed by /import - optimize flush in each import (flushing each 20 contents) - improve design of each import - add more tests
17 lines
415 B
PHP
17 lines
415 B
PHP
<?php
|
|
|
|
namespace Wallabag\ImportBundle;
|
|
|
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
|
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
|
use Wallabag\ImportBundle\Import\ImportCompilerPass;
|
|
|
|
class WallabagImportBundle extends Bundle
|
|
{
|
|
public function build(ContainerBuilder $container)
|
|
{
|
|
parent::build($container);
|
|
|
|
$container->addCompilerPass(new ImportCompilerPass());
|
|
}
|
|
}
|