public function SensorResult::getTimestamp in Monitoring 8
Same name and namespace in other branches
- 7 lib/Drupal/monitoring/Result/SensorResult.php \Drupal\monitoring\Result\SensorResult::getTimestamp()
The result data timestamp.
Return value
int UNIX timestamp.
Overrides SensorResultDataInterface::getTimestamp
2 calls to SensorResult::getTimestamp()
- SensorResult::compile in src/
Result/ SensorResult.php - Compiles added status messages sets the status.
- SensorResult::toArray in src/
Result/ SensorResult.php - Returns sensor result data as array.
File
- src/
Result/ SensorResult.php, line 493
Class
- SensorResult
- Generic container for the sensor result.
Namespace
Drupal\monitoring\ResultCode
public function getTimestamp() {
return $this
->getResultData('timestamp');
}