]> Raphaël G. Git Repositories - userbundle/commitdiff
Rename the extension
authorRaphaël Gertz <git@rapsys.eu>
Mon, 28 Oct 2019 20:04:16 +0000 (21:04 +0100)
committerRaphaël Gertz <git@rapsys.eu>
Mon, 28 Oct 2019 20:04:16 +0000 (21:04 +0100)
DependencyInjection/RapsysUserExtension.php

index 58c86a60321f6539928655574416a48a2da4a295..56e5dabd084594f6478b20d6422f8230883b58b6 100644 (file)
@@ -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);