<?phpnamespace App\Form;use Symfony\Component\Validator\Constraints as Assert;class ContactTypeData{ /** @var string $nom */ private $nom; /** @var string $prenom */ private $prenom; /** * @var string $email * @Assert\Email() */ private $email; /** @var string $message */ private $message; /** @var string $message */ private $destinataire; /** @var string $adresse */ private $adresse; // honeypot /** @var string $cptcha */ private $cptcha; /** * @return string */ public function getNom(): ?string { return $this->nom; } /** * @param string $nom */ public function setNom(string $nom) { $this->nom = $nom; } /** * @return string */ public function getPrenom(): ?string { return $this->prenom; } /** * @param string $prenom */ public function setPrenom(string $prenom) { $this->prenom = $prenom; } /** * @return string */ public function getEmail(): ?string { return $this->email; } /** * @param string $email */ public function setEmail(string $email) { $this->email = $email; } /** * @return mixed */ public function getMessage() { return $this->message; } /** * @param mixed $message */ public function setMessage($message) { $this->message = $message; } /** * @return mixed */ public function getAdresse() { return $this->adresse; } /** * @param mixed $adresse */ public function setAdresse($adresse) { $this->adresse = $adresse; } /** * @return mixed */ public function getCptcha() { return $this->cptcha; } /** * @param mixed $cptcha */ public function setCptcha($cptcha) { $this->cptcha = $cptcha; } /** * @return mixed */ public function getDestinataire() { return $this->destinataire; } /** * @param mixed $destinataire */ public function setDestinataire($destinataire) { $this->destinataire = $destinataire; }}