public function SensorRunner::getIterator in Monitoring 7
File
- lib/
Drupal/ monitoring/ SensorRunner.php, line 134 - Contains \Drupal\monitoring\SensorRunner.
Class
- SensorRunner
- Instantiate and run requested sensors.
Namespace
Drupal\monitoringCode
public function getIterator() {
$results = $this
->runSensors();
return new \ArrayIterator($results);
}