function PerformanceData::setStylesheetBytes

Same name in other branches
  1. 11.x core/tests/Drupal/Tests/PerformanceData.php \Drupal\Tests\PerformanceData::setStylesheetBytes()

Sets the stylesheet bytes.

Parameters

int $bytes: The stylesheet bytes recorded.

File

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

Class

PerformanceData
Value object to store performance information collected from requests.

Namespace

Drupal\Tests

Code

public function setStylesheetBytes(int $bytes) : void {
    $this->stylesheetBytes = $bytes;
}

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