/** * Is the weather-data empty? * @return bool */ public function isEmpty() { return $this->Temperature->isUnknown() && $this->Condition->isUnknown() && $this->WindSpeed->isUnknown() && $this->WindDegree->isUnknown() && $this->Humidity->isUnknown() && $this->Pressure->isUnknown(); }
/** * Is the weather-data empty? * @return bool */ public function isEmpty() { return $this->Temperature->isUnknown() && $this->Condition->isUnknown(); }