Version 0.9.5 beta - in some cases needed for re-clearing the module registry
This commit is contained in:
@@ -119,4 +119,12 @@ final class Registry
|
||||
{
|
||||
return $this->getModulesConfig()[$module_name];
|
||||
}
|
||||
|
||||
/**
|
||||
* @desc will reset the registry
|
||||
*/
|
||||
public function __destruct()
|
||||
{
|
||||
self::$_instance = NULL;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user