function PerformanceData::setScriptCount

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

Sets the script request count.

Parameters

int $count: The number of script requests recorded.

File

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

Class

PerformanceData
Value object to store performance information collected from requests.

Namespace

Drupal\Tests

Code

public function setScriptCount(int $count) {
    $this->scriptCount = $count;
}

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