value = $row->value; $this->updated = $row->updated; $this->upf_id = $row->upf_id; } public function purifyValue(): ?string { // TODO: option for field to support HTML return Output::getClean($this->value); } public function updated() { return date(DATE_FORMAT, $this->updated); } }