]> Raphaƫl G. Git Repositories - packbundle/blobdiff - RapsysPackBundle.php
Add public path and url
[packbundle] / RapsysPackBundle.php
index ca879af6cfdc39050e1166ea57907c1ae2a65e81..7be0f82532302482da3b20eaa9be7525b1ee81bd 100644 (file)
@@ -23,7 +23,7 @@ class RapsysPackBundle extends Bundle {
         *
         * @return string The bundle alias
         */
-    public function getAlias(): string {
+       public static function getAlias(): string {
                //With namespace
                if ($npos = strrpos(static::class, '\\')) {
                        //Set name pos
@@ -45,5 +45,5 @@ class RapsysPackBundle extends Bundle {
 
                //Return underscored lowercase bundle alias
                return Container::underscore(substr(static::class, $npos, $bpos));
-    }
+       }
 }