diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/DependencyInjection')
-rw-r--r-- | src/Wallabag/CoreBundle/DependencyInjection/WallabagCoreExtension.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/DependencyInjection/WallabagCoreExtension.php b/src/Wallabag/CoreBundle/DependencyInjection/WallabagCoreExtension.php index 7cc4165e..c6ecc99e 100644 --- a/src/Wallabag/CoreBundle/DependencyInjection/WallabagCoreExtension.php +++ b/src/Wallabag/CoreBundle/DependencyInjection/WallabagCoreExtension.php | |||
@@ -3,7 +3,7 @@ | |||
3 | namespace Wallabag\CoreBundle\DependencyInjection; | 3 | namespace Wallabag\CoreBundle\DependencyInjection; |
4 | 4 | ||
5 | use Symfony\Component\DependencyInjection\ContainerBuilder; | 5 | use Symfony\Component\DependencyInjection\ContainerBuilder; |
6 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; | 6 | use Symfony\Component\DependencyInjection\Loader\YamlFileLoader; |
7 | use Symfony\Component\HttpKernel\DependencyInjection\Extension; | 7 | use Symfony\Component\HttpKernel\DependencyInjection\Extension; |
8 | use Symfony\Component\Config\FileLocator; | 8 | use Symfony\Component\Config\FileLocator; |
9 | 9 | ||
@@ -11,8 +11,8 @@ class WallabagCoreExtension extends Extension | |||
11 | { | 11 | { |
12 | public function load(array $configs, ContainerBuilder $container) | 12 | public function load(array $configs, ContainerBuilder $container) |
13 | { | 13 | { |
14 | $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); | 14 | $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
15 | $loader->load('services.xml'); | 15 | $loader->load('services.yml'); |
16 | } | 16 | } |
17 | 17 | ||
18 | public function getAlias() | 18 | public function getAlias() |