Rapsys Git
/
packbundle
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c448c2
)
Add static function getVersion returning bundle version
author
Raphaël Gertz
<git@rapsys.eu>
Mon, 31 Jul 2023 23:28:31 +0000
(
01:28
+0200)
committer
Raphaël Gertz
<git@rapsys.eu>
Mon, 31 Jul 2023 23:28:31 +0000
(
01:28
+0200)
RapsysPackBundle.php
patch
|
blob
|
history
diff --git
a/RapsysPackBundle.php
b/RapsysPackBundle.php
index 7be0f82532302482da3b20eaa9be7525b1ee81bd..e773042c3abad4dc9e235d0cc02fa17485cc938f 100644
(file)
--- 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';
+ }
}