summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Psecio/Gatekeeper/Gatekeeper.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Psecio/Gatekeeper/Gatekeeper.php b/src/Psecio/Gatekeeper/Gatekeeper.php
index 85c78fa..c7fd202 100644
--- a/src/Psecio/Gatekeeper/Gatekeeper.php
+++ b/src/Psecio/Gatekeeper/Gatekeeper.php
@@ -75,6 +75,16 @@ class Gatekeeper
}
/**
+ * Get the current datasource
+ *
+ * @return \Psecio\Gatekeeper\DataSource instance
+ */
+ public static function getDatasource()
+ {
+ return self::$datasource;
+ }
+
+ /**
* Load the variables using the .env handling
*
* @param string $envPath Path to the .env file