function PerformanceData::getQueries

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

Gets the queries.

Return value

string[] The database queries recorded.

File

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

Class

PerformanceData
Value object to store performance information collected from requests.

Namespace

Drupal\Tests

Code

public function getQueries() : array {
    return $this->queries;
}

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