From a518b9cfd1dec42a59aa10240a31782bc1d43d13 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Fri, 21 Jun 2019 19:58:20 +0100 Subject: [PATCH] Package file for entry point --- src/Package.php | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 src/Package.php 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__ ); + } +}