protected function fetch() { if (!$this->Fetched || HailApiObject::isOutdated($this->Fetched)) { $this->fetchMethod(); $this->Fetched = date("Y-m-d H:i:s"); $this->write(); } }