1 | <?php declare(strict_types=1); |
||
26 | class MediaText |
||
27 | { |
||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $value; |
||
32 | |||
33 | /** |
||
34 | * @var int |
||
35 | */ |
||
36 | protected $type; |
||
37 | |||
38 | /** |
||
39 | * @var string |
||
40 | */ |
||
41 | protected $lang; |
||
42 | |||
43 | /** |
||
44 | * @var \DateTime |
||
45 | */ |
||
46 | protected $start; |
||
47 | |||
48 | /** |
||
49 | * @var \DateTime |
||
50 | */ |
||
51 | protected $end; |
||
52 | |||
53 | /** |
||
54 | * @param string $value |
||
55 | * @return MediaText |
||
56 | */ |
||
57 | 2 | public function setValue(string $value) : MediaText |
|
62 | |||
63 | 2 | public function getValue() : string |
|
67 | |||
68 | /** |
||
69 | * @param int $type |
||
70 | * @return MediaText |
||
71 | */ |
||
72 | 2 | public function setType(int $type) : MediaText |
|
77 | |||
78 | 2 | public function getType() : int |
|
82 | |||
83 | /** |
||
84 | * @param string $lang |
||
85 | * @return MediaText |
||
86 | */ |
||
87 | 2 | public function setLang(? string $lang) : MediaText |
|
92 | |||
93 | 2 | public function getLang() : ? string |
|
97 | |||
98 | /** |
||
99 | * @param \DateTime $start |
||
100 | * @return MediaText |
||
101 | */ |
||
102 | 1 | public function setStart(? \DateTime $start) : MediaText |
|
107 | |||
108 | 2 | public function getStart() : ? \DateTime |
|
112 | |||
113 | /** |
||
114 | * @param \DateTime $end |
||
115 | * @return MediaText |
||
116 | */ |
||
117 | 1 | public function setEnd(? \DateTime $end) : MediaText |
|
122 | |||
123 | 2 | public function getEnd() : ? \DateTime |
|
127 | } |
||
128 |