function PerformanceData::getCacheGetCount

Same name in other branches
  1. 11.x core/tests/Drupal/Tests/PerformanceData.php \Drupal\Tests\PerformanceData::getCacheGetCount()

Gets the cache get count.

Return value

int The number of cache gets recorded.

File

core/tests/Drupal/Tests/PerformanceData.php, line 206

Class

PerformanceData
Value object to store performance information collected from requests.

Namespace

Drupal\Tests

Code

public function getCacheGetCount() : int {
    return $this->cacheGetCount;
}

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