getRecord()->id; } function getAuthor(): ?User { return (new Users)->get($this->getRecord()->author); } function isModer(): bool { return (bool) $this->getRecord()->is_moder; } function isHidden(): bool { return (bool) $this->getRecord()->is_hidden; } function getText(): string { return $this->getRecord()->text; } function getLabel(): string { return $this->getRecord()->label; } function getBalanceChanges(): ?int { return $this->getRecord()->point_actions; } function getCreationTime(): DateTime { return new DateTime($this->getRecord()->created); } }