You are here

public function SensorResultInterface::toNumber in Monitoring 8

Same name and namespace in other branches
  1. 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\Result

Code

public function toNumber();