function CacheCollectorHelper::getCacheMisses

Same name in other branches
  1. 9 core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php \Drupal\Tests\Core\Cache\CacheCollectorHelper::getCacheMisses()
  2. 8.9.x core/tests/Drupal/Tests/Core/Cache/CacheCollectorHelper.php \Drupal\Tests\Core\Cache\CacheCollectorHelper::getCacheMisses()
  3. 11.x 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 65

Class

CacheCollectorHelper
Helper class to test the cache collector.

Namespace

Drupal\Tests\Core\Cache

Code

public function getCacheMisses() {
    return $this->cacheMisses;
}

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