function PerformanceData::setCacheGetCount

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

Sets the cache get count.

Parameters

int $count: The number of cache gets recorded.

File

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

Class

PerformanceData
Value object to store performance information collected from requests.

Namespace

Drupal\Tests

Code

public function setCacheGetCount(int $count) : void {
    $this->cacheGetCount = $count;
}

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