id_comment = $id_comment; $this->comment = $comment; $this->date = $date; } /** * @return int */ public function getIdComment(): int { return $this->id_comment; } /** * @param int $id_comment */ public function setIdComment(int $id_comment): void { $this->id_comment = $id_comment; } /** * @return string */ public function getComment(): string { return $this->comment; } /** * @param string $comment */ public function setComment(string $comment): void { $this->comment = $comment; } /** * @return string */ public function getDate(): string { return $this->date; } /** * @param string $date */ public function setDate(string $date): void { $this->date = $date; } /** * @return string $user */ public function getUser(): string { return $this->user; } /** * @param string $user */ public function setUser(int $user): void { $this->user = $user; } }