1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-10-15 19:42:08 +00:00

move WallabagBundle into Wallabag:CoreBundle

This commit is contained in:
Nicolas Lœuillet 2015-01-23 16:28:37 +01:00
parent b84a80559a
commit ad4d1caa9e
40 changed files with 67 additions and 62 deletions

View file

@ -0,0 +1,22 @@
<?php
namespace Wallabag\CoreBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\Config\FileLocator;
class WallabagCoreExtension extends Extension
{
public function load(array $configs, ContainerBuilder $container)
{
$loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('services.xml');
}
public function getAlias()
{
return 'wallabag_core';
}
}