function PerformanceData::getQueryCount

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

Gets the query count.

Return value

int The number of database queries recorded.

File

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

Class

PerformanceData
Value object to store performance information collected from requests.

Namespace

Drupal\Tests

Code

public function getQueryCount() : int {
    return $this->queryCount;
}

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