function PerformanceData::setReturnValue

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

Sets the original return value.

Parameters

mixed $return: The original return value.

File

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

Class

PerformanceData
Value object to store performance information collected from requests.

Namespace

Drupal\Tests

Code

public function setReturnValue($return) : void {
    $this->returnValue = $return;
}

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