function CacheCollectorHelper::set
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php \Drupal\Tests\Core\Cache\CacheCollectorHelper::set()
- 8.9.x core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php \Drupal\Tests\Core\Cache\CacheCollectorHelper::set()
- 10 core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php \Drupal\Tests\Core\Cache\CacheCollectorHelper::set()
Overrides CacheCollector::set
File
-
core/
tests/ Drupal/ Tests/ Core/ Cache/ CacheCollectorHelper.php, line 30
Class
- CacheCollectorHelper
- Helper class to test the cache collector.
Namespace
Drupal\Tests\Core\CacheCode
public function set($key, $value) {
parent::set($key, $value);
$this->persist($key);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.