Advertisement
nicolas-chuet

classe Modal

Apr 3rd, 2020
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. <?php
  2.  
  3. class Modal
  4. {
  5.  
  6. private String $title;
  7. private String $text;
  8. private array $urls;
  9.  
  10. /**
  11. * Modal constructor.
  12. */
  13. public function __construct( ){}
  14.  
  15. /**
  16. * @return mixed
  17. */
  18. public function getTitle()
  19. {
  20. return $this->title;
  21. }
  22.  
  23. /**
  24. * @param mixed $title
  25. */
  26. public function setTitle($title)
  27. {
  28. $this->title = $title;
  29. }
  30.  
  31. /**
  32. * @return mixed
  33. */
  34. public function getText()
  35. {
  36. return $this->text;
  37. }
  38.  
  39. /**
  40. * @param mixed $text
  41. */
  42. public function setText($text)
  43. {
  44. $this->text = $text;
  45. }
  46.  
  47. /**
  48. * @return mixed
  49. */
  50. public function getUrls()
  51. {
  52. return $this->urls;
  53. }
  54.  
  55. /**
  56. * @param mixed $urls
  57. */
  58. public function setUrls($urls)
  59. {
  60. $this->urls = $urls;
  61. }
  62.  
  63. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement