X-Git-Url: https://git.rapsys.eu/userbundle/blobdiff_plain/77f2fa1cc42a396ab328b9ac2dea3dfe6a6868b4..b50edfff7f68b16418110a8ed17d6b514dc9d1c6:/DependencyInjection/RapsysUserExtension.php

diff --git a/DependencyInjection/RapsysUserExtension.php b/DependencyInjection/RapsysUserExtension.php
index 96fb8f5..d69ee4d 100644
--- a/DependencyInjection/RapsysUserExtension.php
+++ b/DependencyInjection/RapsysUserExtension.php
@@ -11,11 +11,11 @@
 
 namespace Rapsys\UserBundle\DependencyInjection;
 
+use Rapsys\UserBundle\RapsysUserBundle;
+
 use Symfony\Component\DependencyInjection\ContainerBuilder;
 use Symfony\Component\DependencyInjection\Extension\Extension;
 
-use Rapsys\UserBundle\RapsysUserBundle;
-
 /**
  * This is the class that loads and manages your bundle configuration.
  *
@@ -50,4 +50,13 @@ class RapsysUserExtension extends Extension {
 		//Set rapsysuser.version key
 		$container->setParameter($alias.'.version', RapsysUserBundle::getVersion());
 	}
+
+	/**
+	 * {@inheritdoc}
+	 *
+	 * @xxx Required by kernel to load renamed alias configuration
+	 */
+	public function getAlias(): string {
+		return RapsysUserBundle::getAlias();
+	}
 }