]> Raphaƫl G. Git Repositories - packbundle/blobdiff - DependencyInjection/RapsysPackExtension.php
Version 0.5.2
[packbundle] / DependencyInjection / RapsysPackExtension.php
index ce77518d940088b639c2cba0a86a5e97e012528d..fc9efcebcb19db954d30711c3c7682d1248af9e4 100644 (file)
 
 namespace Rapsys\PackBundle\DependencyInjection;
 
 
 namespace Rapsys\PackBundle\DependencyInjection;
 
+use Rapsys\PackBundle\RapsysPackBundle;
+
 use Symfony\Component\DependencyInjection\ContainerBuilder;
 use Symfony\Component\DependencyInjection\Extension\Extension;
 
 use Symfony\Component\DependencyInjection\ContainerBuilder;
 use Symfony\Component\DependencyInjection\Extension\Extension;
 
-use Rapsys\PackBundle\RapsysPackBundle;
-
 /**
  * This is the class that loads and manages your bundle configuration.
  *
 /**
  * This is the class that loads and manages your bundle configuration.
  *
@@ -55,4 +55,13 @@ class RapsysPackExtension extends Extension {
                //Set rapsyspack.version key
                $container->setParameter($alias.'.version', RapsysPackBundle::getVersion());
        }
                //Set rapsyspack.version key
                $container->setParameter($alias.'.version', RapsysPackBundle::getVersion());
        }
+
+       /**
+        * {@inheritdoc}
+        *
+        * @xxx Required by kernel to load renamed alias configuration
+        */
+       public function getAlias(): string {
+               return RapsysPackBundle::getAlias();
+       }
 }
 }