1 | <?php declare(strict_types=1); |
||
13 | class Media implements MediaInterface |
||
14 | { |
||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $nodeName; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $type; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $url; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | protected $length; |
||
34 | |||
35 | /** |
||
36 | * @var string |
||
37 | */ |
||
38 | protected $title; |
||
39 | |||
40 | /** |
||
41 | * @var string |
||
42 | */ |
||
43 | protected $description; |
||
44 | |||
45 | /** |
||
46 | * @var string |
||
47 | */ |
||
48 | protected $thumbnail; |
||
49 | |||
50 | |||
51 | /** |
||
52 | * @return string |
||
53 | */ |
||
54 | public function getNodeName() : string |
||
58 | |||
59 | /** |
||
60 | * @param string $nodeName |
||
61 | * @return MediaInterface |
||
62 | */ |
||
63 | 5 | public function setNodeName(string $nodeName) : MediaInterface |
|
69 | |||
70 | /** |
||
71 | * @return bool |
||
72 | */ |
||
73 | public function isThumbnail() : bool |
||
77 | |||
78 | /** |
||
79 | * @return string |
||
80 | */ |
||
81 | 5 | public function getType() : ? string |
|
85 | |||
86 | /** |
||
87 | * @param string $type |
||
88 | * @return MediaInterface |
||
89 | */ |
||
90 | 7 | public function setType(?string $type) : MediaInterface |
|
96 | |||
97 | /** |
||
98 | * @return string |
||
99 | */ |
||
100 | 7 | public function getUrl() : ? string |
|
104 | |||
105 | /** |
||
106 | * @param string $url |
||
107 | * @return MediaInterface |
||
108 | */ |
||
109 | 7 | public function setUrl(?string $url) : MediaInterface |
|
115 | |||
116 | /** |
||
117 | * @return string |
||
118 | */ |
||
119 | 3 | public function getLength() : ? string |
|
123 | |||
124 | /** |
||
125 | * @param string $length |
||
126 | * @return MediaInterface |
||
127 | */ |
||
128 | 6 | public function setLength(?string $length) : MediaInterface |
|
134 | |||
135 | |||
136 | /** |
||
137 | * @return string |
||
138 | */ |
||
139 | 1 | public function getTitle() : ? string |
|
143 | |||
144 | /** |
||
145 | * @param string $title |
||
146 | * @return MediaInterface |
||
147 | */ |
||
148 | 1 | public function setTitle(?string $title) : MediaInterface |
|
154 | |||
155 | /** |
||
156 | * @return string |
||
157 | */ |
||
158 | 1 | public function getDescription() : ? string |
|
162 | |||
163 | /** |
||
164 | * @param string $description |
||
165 | * @return MediaInterface |
||
166 | */ |
||
167 | 1 | public function setDescription(?string $description) : MediaInterface |
|
173 | |||
174 | /** |
||
175 | * @return string |
||
176 | */ |
||
177 | 1 | public function getThumbnail() : ? string |
|
181 | |||
182 | /** |
||
183 | * @param string $thumbnail |
||
184 | * @return MediaInterface |
||
185 | */ |
||
186 | 1 | public function setThumbnail(?string $thumbnail) : MediaInterface |
|
192 | } |
||
193 |