function PerformanceData::setScriptBytes

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

Sets the script bytes.

Parameters

int $bytes: The script bytes recorded.

File

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

Class

PerformanceData
Value object to store performance information collected from requests.

Namespace

Drupal\Tests

Code

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

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