]> Raphaƫl G. Git Repositories - packbundle/blobdiff - DependencyInjection/RapsysPackExtension.php
Set constructor parameters as optional
[packbundle] / DependencyInjection / RapsysPackExtension.php
index ce77518d940088b639c2cba0a86a5e97e012528d..d6e3c8005cbc06ad3228a10bfcb342bc318c04f4 100644 (file)
@@ -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();
+       }
 }
 }