From adb4decf1c410e0d3363ca930d7a102e0ea3bd46 Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Tue, 18 Nov 2014 12:23:03 +0000 Subject: [PATCH] Add plugin version --- Plugin.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Plugin.php b/Plugin.php index caa8d2e..471f40c 100644 --- a/Plugin.php +++ b/Plugin.php @@ -108,4 +108,14 @@ class Plugin extends AbstractPlugin implements PluginInterface $args['visitors'] = $visitors; } + + /** + * Specify version of the plugin. + * + * @return string Plugin's version. + */ + public static function getVersion() + { + return '0.1.0'; + } }