comment; } public function isEmpty() { return empty($this->getComment()); } /** * @param string $comment */ public function setComment(?string $comment) { $this->comment = $comment; } /** * @return interger $userId */ public function getUserId() { return $this->userId; } /** * @param integer $userId */ public function setUserId($userId) { $this->userId = $userId; } /** * @return \DateTime */ public function getDate() { return $this->date; } /** * @param \DateTime $date */ public function setDate(?\DateTime $date) { $this->date = $date; } }