diff --git a/src/Package.php b/src/Package.php new file mode 100644 index 00000000000..ec3cc6474d2 --- /dev/null +++ b/src/Package.php @@ -0,0 +1,48 @@ +init(); + } + + /** + * Return the version of the package. + * + * @return string + */ + public static function get_version() { + return self::VERSION; + } + + /** + * Return the path to the package. + * + * @return string + */ + public static function get_path() { + return dirname( __DIR__ ); + } +}