PluginProbe ʕ •ᴥ•ʔ
Booking for Appointments and Events Calendar – Amelia / 2.4.4
Booking for Appointments and Events Calendar – Amelia v2.4.4
2.4.4 2.4.3 2.4.2 2.4.1 2.4 trunk 1.2.1 1.2.10 1.2.11 1.2.12 1.2.13 1.2.14 1.2.15 1.2.16 1.2.17 1.2.18 1.2.19 1.2.2 1.2.20 1.2.21 1.2.22 1.2.23 1.2.24 1.2.25 1.2.26 1.2.27 1.2.28 1.2.29 1.2.3 1.2.30 1.2.31 1.2.32 1.2.33 1.2.34 1.2.35 1.2.36 1.2.37 1.2.38 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.1.3 2.2 2.2.1 2.3
ameliabooking / src / Domain / Entity / Zoom / ZoomMeeting.php
ameliabooking / src / Domain / Entity / Zoom Last commit date
ZoomMeeting.php 1 year ago
ZoomMeeting.php
84 lines
1 <?php
2
3 namespace AmeliaBooking\Domain\Entity\Zoom;
4
5 use AmeliaBooking\Domain\ValueObjects\Number\Integer\Id;
6 use AmeliaBooking\Domain\ValueObjects\String\Url;
7
8 /**
9 * Class ZoomMeeting
10 *
11 * @package AmeliaBooking\Domain\Entity\Zoom
12 */
13 class ZoomMeeting
14 {
15 /** @var Id */
16 private $id;
17
18 /** @var Url */
19 private $joinUrl;
20
21 /** @var Url */
22 private $startUrl;
23
24 /**
25 * @return Id
26 */
27 public function getId()
28 {
29 return $this->id;
30 }
31
32 /**
33 * @param Id $id
34 */
35 public function setId(Id $id)
36 {
37 $this->id = $id;
38 }
39
40 /**
41 * @return Url
42 */
43 public function getJoinUrl()
44 {
45 return $this->joinUrl;
46 }
47
48 /**
49 * @param Url $joinUrl
50 */
51 public function setJoinUrl(Url $joinUrl)
52 {
53 $this->joinUrl = $joinUrl;
54 }
55
56 /**
57 * @return Url
58 */
59 public function getStartUrl()
60 {
61 return $this->startUrl;
62 }
63
64 /**
65 * @param Url $startUrl
66 */
67 public function setStartUrl(Url $startUrl)
68 {
69 $this->startUrl = $startUrl;
70 }
71
72 /**
73 * @return array
74 */
75 public function toArray()
76 {
77 return [
78 'id' => $this->getId() ? $this->getId()->getValue() : null,
79 'startUrl' => $this->getStartUrl() ? $this->getStartUrl()->getValue() : null,
80 'joinUrl' => $this->getJoinUrl() ? $this->getJoinUrl()->getValue() : null,
81 ];
82 }
83 }
84