You are here

public static function FileCache::reset in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Component/FileCache/FileCache.php \Drupal\Component\FileCache\FileCache::reset()

Resets the static cache.

@todo Replace this once https://www.drupal.org/node/2260187 is in.

File

lib/Drupal/Component/FileCache/FileCache.php, line 161
Contains \Drupal\Component\FileCache\FileCache.

Class

FileCache
Allows to cache data based on file modification dates.

Namespace

Drupal\Component\FileCache

Code

public static function reset() {
  static::$cached = [];
}