user_id); } public function isInternal(): bool { return false; } public function getAttachments(): array { return []; } public function getHtml(): string { return nl2br(htmlspecialchars($this->content)); } /** * @return void * @throws Exception */ public function renderEditIcon(): void { ?> sale_id); } public function jsonSerialize(): array { return [ "id" => (int) $this->id, "content" => $this->content ]; } }