From: Raphaƫl Gertz Date: Mon, 28 Oct 2019 20:04:16 +0000 (+0100) Subject: Rename the extension X-Git-Tag: 0.0.2~5 X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/efa6c60e1cbb85c6b36745e3570e71bb2f92b7ce?ds=inline;hp=789b53d01094a6be3bdf5806de59f616ba35fcdb Rename the extension --- 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);