/** * Set all my static data to defaults * */ public static function reset() { self::$_registry = array(); self::$_app = null; self::$_useCache = array(); self::$_objects = null; self::$_isDownloader = false; self::$_isDeveloperMode = true; // do not reset $headersSentThrowsException }