]> Raphaƫl G. Git Repositories - packbundle/blobdiff - Extension/PackExtension.php
Set getAlias function as static
[packbundle] / Extension / PackExtension.php
index 48f93cd3b584caa87005d5fed8affe832d15ee19..40863e9979e65476bd7d73ec71b92b56d8875ff9 100644 (file)
@@ -58,7 +58,7 @@ class PackExtension extends AbstractExtension {
                $this->package = $package;
 
                //Retrieve bundle config
                $this->package = $package;
 
                //Retrieve bundle config
-               if ($parameters = $container->getParameter($this->getAlias())) {
+               if ($parameters = $container->getParameter(self::getAlias())) {
                        //Set config, output and filters arrays
                        foreach(['config', 'output', 'filters'] as $k) {
                                $this->$k = $parameters[$k];
                        //Set config, output and filters arrays
                        foreach(['config', 'output', 'filters'] as $k) {
                                $this->$k = $parameters[$k];