]> Raphaƫl G. Git Repositories - packbundle/blobdiff - RapsysPackBundle.php
Add static function getVersion returning bundle version
[packbundle] / RapsysPackBundle.php
index 7be0f82532302482da3b20eaa9be7525b1ee81bd..e773042c3abad4dc9e235d0cc02fa17485cc938f 100644 (file)
@@ -46,4 +46,14 @@ class RapsysPackBundle extends Bundle {
                //Return underscored lowercase bundle alias
                return Container::underscore(substr(static::class, $npos, $bpos));
        }
+
+       /**
+        * Return bundle version
+        *
+        * @return string The bundle version
+        */
+       public static function getVersion(): string {
+               //Return version
+               return '0.2.5';
+       }
 }