/** * @internal */ public static function reset($resetCache = true) { self::$_instance = null; Kwf_Component_Generator_Abstract::clearInstances(); Kwf_Component_Abstract::clearModelInstances(); Kwf_Events_Dispatcher::clearCache(); if ($resetCache) { Kwf_Component_Abstract::resetSettingsCache(); } }