public static function clearStatCache($filename = null) {
    if (!empty($filename)) {
      unset(self::$stat_cache[self::getHashValue($filename)]);
    } else {
      self::$stat_cache = [];
    }
  }
public static function clearStatCache($filename = null) {
    if (!empty($filename)) {
      unset(self::$stat_cache[self::getHashValue($filename)]);
    } else {
      self::$stat_cache = [];
    }
  }
public static function clearStatCache ( $ filename = null ) { if ( ! empty ( $ filename ) ) { unset ( self :: $ stat_cache [ self :: getHashValue ( $ filename ) ] ) ; } else { self :: $ stat_cache = [ ] ; } }
Clear the stat cache.

@param string $filename Option filename to clear from the cache.
Clear the stat cache .