setCreationDate( new \DateTime() ); } public function getId(): ?int { return $this->id; } public function getPoll(): ?Poll { return $this->poll; } public function setPoll( ?Poll $poll ): self { $this->poll = $poll; return $this; } public function getPseudo(): ?string { return $this->pseudo; } public function setPseudo( ?string $pseudo ): self { $this->pseudo = $pseudo; return $this; } public function getChoice(): ?Choice { return $this->choice; } public function setChoice( ?Choice $choice ): self { $this->choice = $choice; return $this; } public function getValue(): ?string { return $this->value; } public function setValue( ?string $value ): self { $this->value = $value; return $this; } public function getCreationDate(): ?DateTimeInterface { return $this->creationDate; } public function setCreationDate( DateTimeInterface $creationDate ): self { $this->creationDate = $creationDate; return $this; } }