From: Raphaƫl Gertz Date: Mon, 31 Jul 2023 23:28:31 +0000 (+0200) Subject: Add static function getVersion returning bundle version X-Git-Tag: 0.2.5~2 X-Git-Url: https://git.rapsys.eu/packbundle/commitdiff_plain/64b64c20e1bab3722d13e9c5e36e1129aa4ad390 Add static function getVersion returning bundle version --- diff --git a/RapsysPackBundle.php b/RapsysPackBundle.php index 7be0f82..e773042 100644 --- a/RapsysPackBundle.php +++ b/RapsysPackBundle.php @@ -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'; + } }