function NullFileCache::get

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/FileCache/NullFileCache.php \Drupal\Component\FileCache\NullFileCache::get()
  2. 8.9.x core/lib/Drupal/Component/FileCache/NullFileCache.php \Drupal\Component\FileCache\NullFileCache::get()
  3. 10 core/lib/Drupal/Component/FileCache/NullFileCache.php \Drupal\Component\FileCache\NullFileCache::get()

Overrides FileCacheInterface::get

File

core/lib/Drupal/Component/FileCache/NullFileCache.php, line 30

Class

NullFileCache
Null implementation for the file cache.

Namespace

Drupal\Component\FileCache

Code

public function get($filepath) {
    return NULL;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.