public static function FileCache::reset

public static FileCache::reset()

Resets the static cache.

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

File

core/lib/Drupal/Component/FileCache/FileCache.php, line 156

Class

FileCache
Allows to cache data based on file modification dates.

Namespace

Drupal\Component\FileCache

Code

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!FileCache!FileCache.php/function/FileCache::reset/8.1.x