getRecord()->id; } function getOwner(): ?User { return (new Users)->get($this->getRecord()->owner); } function isPublic(): bool { return (bool) $this->getRecord()->is_public; } function getTitle(): string { return $this->getRecord()->title; } function getText(): string { return $this->getRecord()->text; } function getTemplates(): \Traversable { return (new SupportTemplates)->getListByDirId($this->getId()); } }