You are here

public static function FileCache::reset in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/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.

1 call to FileCache::reset()
KernelTestBase::tearDown in core/tests/Drupal/KernelTests/KernelTestBase.php

File

core/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 = [];
}