src\Entity\Contact.php line 4

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. class Contact
  4. {
  5. public ?string $email = null;
  6. public ?string $nom = null;
  7. public ?string $prenom = null;
  8. public ?string $titre = null;
  9. public ?string $message = null;
  10. public function getPrenom(): ?string
  11. {
  12. return $this->prenom;
  13. }
  14. public function getNom(): ?string
  15. {
  16. return $this->nom;
  17. }
  18. public function getEmail(): ?string
  19. {
  20. return $this->email;
  21. }
  22. public function getTitre(): ?string
  23. {
  24. return $this->titre;
  25. }
  26. public function getMessage(): ?string
  27. {
  28. return $this->message;
  29. }
  30. }