Version 0.9.5 beta - in some cases needed for re-clearing the module registry

This commit is contained in:
Stephan Kasdorf
2020-09-19 20:39:30 +02:00
parent 9559fc8ae1
commit 2c7117d2d5

View File

@@ -119,4 +119,12 @@ final class Registry
{
return $this->getModulesConfig()[$module_name];
}
/**
* @desc will reset the registry
*/
public function __destruct()
{
self::$_instance = NULL;
}
}