function NullBackend::set

Same name in other branches
  1. 9 core/lib/Drupal/Core/Cache/NullBackend.php \Drupal\Core\Cache\NullBackend::set()
  2. 10 core/lib/Drupal/Core/Cache/NullBackend.php \Drupal\Core\Cache\NullBackend::set()
  3. 11.x core/lib/Drupal/Core/Cache/NullBackend.php \Drupal\Core\Cache\NullBackend::set()

Overrides CacheBackendInterface::set

File

core/lib/Drupal/Core/Cache/NullBackend.php, line 45

Class

NullBackend
Defines a stub cache implementation.

Namespace

Drupal\Core\Cache

Code

public function set($cid, $data, $expire = Cache::PERMANENT, array $tags = []) {
}

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