public static function watch() { $temp = Sensor::getTemperature(); if ($temp < -50 || $temp > 50) { throw new RangeException('The sennor broke down'); } }