function PerformanceData::setCacheDeleteCount

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

Sets the cache delete count.

Parameters

int $count: The number of cache deletes recorded.

File

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

Class

PerformanceData
Value object to store performance information collected from requests.

Namespace

Drupal\Tests

Code

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

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