id = ''; $this->isBlock = false; $this->userId = 0; $this->termId = 0; $this->commentId = 0; } public function isOptions(): bool { return 'options' === $this->id; } /** * @return int|string */ public function getId() { return $this->id; } public function isBlock(): bool { return $this->isBlock; } public function getUserId(): int { return $this->userId; } public function getCommentId(): int { return $this->commentId; } public function getTermId(): int { return $this->termId; } //// setters /** * @param int|string $id */ public function setId($id): void { $this->id = $id; } public function setTermId(int $termId): void { $this->termId = $termId; } public function setIsBlock(bool $isBlock): void { $this->isBlock = $isBlock; } public function setUserId(int $userId): void { $this->userId = $userId; } public function setCommentId(int $commentId): void { $this->commentId = $commentId; } }