get($this->getId()); } function getName(): string { return $this->toProduct()->getName(); } function isClosed(): ?bool { return $this->toProduct()->isClosed(); } function getCreator(): ?User { return $this->toProduct()->getCreator(); } function isPrivate(): ?bool { return true; } function getModerator(): ?User { return (new Users)->get($this->getRecord("moderator")); } }