public function CacheCollectorHelper::getCacheMisses in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php \Drupal\Tests\Core\Cache\CacheCollectorHelper::getCacheMisses()
- 9 core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php \Drupal\Tests\Core\Cache\CacheCollectorHelper::getCacheMisses()
Returns the number of cache misses.
Return value
int Number of calls to the resolve cache miss method.
File
- core/
tests/ Drupal/ Tests/ Core/ Cache/ CacheCollectorHelper.php, line 63
Class
- CacheCollectorHelper
- Helper class to test the cache collector.
Namespace
Drupal\Tests\Core\CacheCode
public function getCacheMisses() {
return $this->cacheMisses;
}