We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfecd50 commit 469eef4Copy full SHA for 469eef4
system/Config/BaseConfig.php
@@ -83,6 +83,18 @@ public static function setModules(Modules $modules): void
83
static::$moduleConfig = $modules;
84
}
85
86
+ /**
87
+ * @internal For testing purposes only.
88
+ * @testTag
89
+ */
90
+ public static function reset(): void
91
+ {
92
+ static::$registrars = [];
93
+ static::$override = true;
94
+ static::$didDiscovery = false;
95
+ static::$moduleConfig = null;
96
+ }
97
+
98
/**
99
* Will attempt to get environment variables with names
100
* that match the properties of the child class.
0 commit comments