src/Model/Contact.php line 4

Open in your IDE?
  1. <?php
  2. namespace App\Model;
  3. class Contact{
  4. private $name;
  5. private $email;
  6. private $subject;
  7. private $message;
  8. public function __construct()
  9. {
  10. }
  11. /**
  12. * Get the value of name
  13. */
  14. public function getName()
  15. {
  16. return $this->name;
  17. }
  18. /**
  19. * Set the value of name
  20. *
  21. * @return self
  22. */
  23. public function setName($name)
  24. {
  25. $this->name = $name;
  26. return $this;
  27. }
  28. /**
  29. * Get the value of email
  30. */
  31. public function getEmail()
  32. {
  33. return $this->email;
  34. }
  35. /**
  36. * Set the value of email
  37. *
  38. * @return self
  39. */
  40. public function setEmail($email)
  41. {
  42. $this->email = $email;
  43. return $this;
  44. }
  45. /**
  46. * Get the value of subject
  47. */
  48. public function getSubject()
  49. {
  50. return $this->subject;
  51. }
  52. /**
  53. * Set the value of subject
  54. *
  55. * @return self
  56. */
  57. public function setSubject($subject)
  58. {
  59. $this->subject = $subject;
  60. return $this;
  61. }
  62. /**
  63. * Get the value of message
  64. */
  65. public function getMessage()
  66. {
  67. return $this->message;
  68. }
  69. /**
  70. * Set the value of message
  71. *
  72. * @return self
  73. */
  74. public function setMessage($message)
  75. {
  76. $this->message = $message;
  77. return $this;
  78. }
  79. }