public function SensorResultInterface::toNumber in Monitoring 8
Same name and namespace in other branches
- 7 lib/Drupal/monitoring/Result/SensorResultInterface.php \Drupal\monitoring\Result\SensorResultInterface::toNumber()
Casts/processes the sensor value into numeric representation.
Return value
number Numeric sensor value.
1 method overrides SensorResultInterface::toNumber()
- SensorResult::toNumber in src/
Result/ SensorResult.php - Casts/processes the sensor value into numeric representation.
File
- src/
Result/ SensorResultInterface.php, line 122 - Contains \Drupal\monitoring\Result\SensorResultInterface.
Class
- SensorResultInterface
- Interface for a sensor result.
Namespace
Drupal\monitoring\ResultCode
public function toNumber();