function PerformanceData::setCacheTagInvalidationCount

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

Sets the cache tag invalidation count.

Parameters

int $count: The number of cache tag invalidations recorded.

File

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

Class

PerformanceData
Value object to store performance information collected from requests.

Namespace

Drupal\Tests

Code

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

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