diff options
-rw-r--r-- | src/Psecio/Gatekeeper/Gatekeeper.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Psecio/Gatekeeper/Gatekeeper.php b/src/Psecio/Gatekeeper/Gatekeeper.php index 1f89a9c..882cc2e 100644 --- a/src/Psecio/Gatekeeper/Gatekeeper.php +++ b/src/Psecio/Gatekeeper/Gatekeeper.php @@ -214,6 +214,14 @@ class Gatekeeper } /** + * Clear out the current restrictions + */ + public static function clearRestrictions() + { + self::$restrictions = []; + } + + /** * Load the variables using the .env handling * * @param string $envPath Path to the .env file |