function PerformanceData::setStylesheetCount

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

Sets the stylesheet request count.

Parameters

int $count: The number of stylesheet requests recorded.

File

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

Class

PerformanceData
Value object to store performance information collected from requests.

Namespace

Drupal\Tests

Code

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

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