function PerformanceData::getCacheTagLookupQueryCount

Same name and namespace in other branches
  1. main core/tests/Drupal/Tests/PerformanceData.php \Drupal\Tests\PerformanceData::getCacheTagLookupQueryCount()

Gets the cache tag lookup query count.

Return value

int The number of cache tag lookup queries recorded.

File

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

Class

PerformanceData
Value object to store performance information collected from requests.

Namespace

Drupal\Tests

Code

public function getCacheTagLookupQueryCount() : int {
  return count($this->cacheTagGroupedLookups);
}

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