uid = $uid; $this->verb = $verb; $this->type = $type; $this->actorId = $actorId; $this->targetUriId = $targetUriId; $this->parentUriId = $parentUriId ?: $targetUriId; $this->created = $created; $this->seen = $seen; $this->id = $id; $this->dismissed = $dismissed; } public function setSeen() { $this->seen = true; } public function setDismissed() { $this->dismissed = true; } }