/** * Flush the in-memory caches for this request - $isFileCache * and $isDirCache */ public static function resetMemoryCaches() { self::$isFileCache = array(); self::$isDirCache = array(); }