Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Modal
- {
- private $title;
- private $text;
- private $urls;
- /**
- * Modal constructor.
- * @param $title
- * @param $text
- * @param $urls
- */
- public function __construct( $title, $text, $urls)
- {
- $this->title = $title;
- $this->text = $text;
- $this->urls = $urls;
- }
- /**
- * @return mixed
- */
- public function getTitle()
- {
- return $this->title;
- }
- /**
- * @param mixed $title
- */
- public function setTitle($title)
- {
- $this->title = $title;
- }
- /**
- * @return mixed
- */
- public function getText()
- {
- return $this->text;
- }
- /**
- * @param mixed $text
- */
- public function setText($text)
- {
- $this->text = $text;
- }
- /**
- * @return mixed
- */
- public function getUrls()
- {
- return $this->urls;
- }
- /**
- * @param mixed $urls
- */
- public function setUrls($urls)
- {
- $this->urls = $urls;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement