You are here

public function SensorResultDataInterface::getValue in Monitoring 8

Gets the sensor metric value.

Return value

mixed Whatever value the sensor is supposed to return.

2 methods override SensorResultDataInterface::getValue()
SensorResult::getValue in src/Result/SensorResult.php
Gets the sensor metric value.
SensorResultEntity::getValue in src/Entity/SensorResultEntity.php
Gets the sensor metric value.

File

src/Entity/SensorResultDataInterface.php, line 68

Class

SensorResultDataInterface
Interface for sensor data.

Namespace

Drupal\monitoring\Entity

Code

public function getValue();