From efa6c60e1cbb85c6b36745e3570e71bb2f92b7ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Mon, 28 Oct 2019 21:04:16 +0100 Subject: [PATCH] Rename the extension --- DependencyInjection/RapsysUserExtension.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DependencyInjection/RapsysUserExtension.php b/DependencyInjection/RapsysUserExtension.php index 58c86a6..56e5dab 100644 --- a/DependencyInjection/RapsysUserExtension.php +++ b/DependencyInjection/RapsysUserExtension.php @@ -18,8 +18,8 @@ class RapsysUserExtension extends Extension { */ public function load(array $configs, ContainerBuilder $container) { //Load configuration - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); - $loader->load('services.yml'); + $loader = new Loader\YamlFileLoader($container, new FileLocator('config/packages')); + $loader->load($this->getAlias().'.yaml'); //Load configuration $configuration = $this->getConfiguration($configs, $container); -- 2.41.1