function PerformanceData::getScriptBytes

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

Gets the script bytes count.

Return value

int The script bytes recorded.

File

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

Class

PerformanceData
Value object to store performance information collected from requests.

Namespace

Drupal\Tests

Code

public function getScriptBytes() : int {
    return $this->scriptBytes;
}

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