public function SensorResultInterface::toNumber in Monitoring 7
Same name and namespace in other branches
- 8 src/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 lib/
Drupal/ monitoring/ Result/ SensorResult.php - Casts/processes the sensor value into numeric representation.
File
- lib/
Drupal/ monitoring/ Result/ SensorResultInterface.php, line 189 - Contains \Drupal\monitoring\Result\SensorResultInterface.
Class
- SensorResultInterface
- Interface for a sensor result.
Namespace
Drupal\monitoring\ResultCode
public function toNumber();