forked from wallabag/wallabag
Register ImportCompilerPass in AppKernel
This commit is contained in:
@ -2,16 +2,8 @@
|
||||
|
||||
namespace Wallabag\CoreBundle;
|
||||
|
||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||
use Wallabag\CoreBundle\Import\ImportCompilerPass;
|
||||
|
||||
class WallabagCoreBundle extends Bundle
|
||||
{
|
||||
public function build(ContainerBuilder $container)
|
||||
{
|
||||
parent::build($container);
|
||||
|
||||
$container->addCompilerPass(new ImportCompilerPass());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user