protected function SensorResult::getResultData in Monitoring 8
Same name and namespace in other branches
- 7 lib/Drupal/monitoring/Result/SensorResult.php \Drupal\monitoring\Result\SensorResult::getResultData()
Gets result data.
Parameters
string $key: Data key.
Return value
mixed Stored data.
6 calls to SensorResult::getResultData()
- SensorResult::getExecutionTime in src/
Result/ SensorResult.php - Get sensor execution time in ms.
- SensorResult::getExpectedValue in src/
Result/ SensorResult.php - Gets the sensor expected value.
- SensorResult::getMessage in src/
Result/ SensorResult.php - Gets sensor status message.
- SensorResult::getStatus in src/
Result/ SensorResult.php - Gets sensor status.
- SensorResult::getTimestamp in src/
Result/ SensorResult.php - The result data timestamp.
File
- src/
Result/ SensorResult.php, line 120
Class
- SensorResult
- Generic container for the sensor result.
Namespace
Drupal\monitoring\ResultCode
protected function getResultData($key) {
return $this->data[$key];
}