function PerformanceData::getReturnValue
Same name in other branches
- 11.x core/tests/Drupal/Tests/PerformanceData.php \Drupal\Tests\PerformanceData::getReturnValue()
Gets the original return value.
PerformanceTestTrait::collectPerformanceData() takes a callable as its argument. This method allows the original return value of the callable to be retrieved.
Return value
mixed The original return value.
File
-
core/
tests/ Drupal/ Tests/ PerformanceData.php, line 330
Class
- PerformanceData
- Value object to store performance information collected from requests.
Namespace
Drupal\TestsCode
public function getReturnValue() {
return $this->returnValue;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.