function PerformanceData::getScriptCount

Gets the script request count.

Return value

int The number of script requests recorded.

File

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

Class

PerformanceData
Value object to store performance information collected from requests.

Namespace

Drupal\Tests

Code

public function getScriptCount() : int {
  return $this->scriptCount;
}

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