]> Raphaƫl G. Git Repositories - packbundle/blobdiff - DependencyInjection/RapsysPackExtension.php
Set getAlias function as static
[packbundle] / DependencyInjection / RapsysPackExtension.php
index 94b9fadf9cf4b180655fb88f2a12e23d7272f75f..c73e90ce9fd544bd6a8f9b48585b44a7fa543290 100644 (file)
@@ -37,11 +37,11 @@ class RapsysPackExtension extends Extension {
                //Detect when no user configuration is provided
                if ($configs === [[]]) {
                        //Prepend default config
-                       $container->prependExtensionConfig($this->getAlias(), $config);
+                       $container->prependExtensionConfig(self::getAlias(), $config);
                }
 
                //Save configuration in parameters
-               $container->setParameter($this->getAlias(), $config);
+               $container->setParameter(self::getAlias(), $config);
        }
 
        /**