1 | <?php declare(strict_types=1); |
||
43 | class MediaContent implements MediaContentInterface |
||
44 | { |
||
45 | /** |
||
46 | * @var int |
||
47 | */ |
||
48 | protected $fileSize; |
||
49 | |||
50 | /** |
||
51 | * @var int |
||
52 | */ |
||
53 | protected $bitrate; |
||
54 | |||
55 | /** |
||
56 | * @var int |
||
57 | */ |
||
58 | protected $framerate; |
||
59 | |||
60 | /** |
||
61 | * @var float |
||
62 | */ |
||
63 | protected $samplingrate; |
||
64 | |||
65 | /** |
||
66 | * @var int |
||
67 | */ |
||
68 | protected $duration; |
||
69 | |||
70 | /** |
||
71 | * @var int |
||
72 | */ |
||
73 | protected $height; |
||
74 | |||
75 | /** |
||
76 | * @var int |
||
77 | */ |
||
78 | protected $width; |
||
79 | |||
80 | /** |
||
81 | * @var string |
||
82 | */ |
||
83 | protected $lang; |
||
84 | |||
85 | /** |
||
86 | * @var int |
||
87 | */ |
||
88 | protected $expression; |
||
89 | |||
90 | /** |
||
91 | * @var int |
||
92 | */ |
||
93 | protected $medium; |
||
94 | |||
95 | /** |
||
96 | * @var bool |
||
97 | */ |
||
98 | protected $default = true; |
||
99 | |||
100 | /** |
||
101 | * @return int |
||
102 | */ |
||
103 | 2 | public function getFileSize() : ?int |
|
107 | |||
108 | /** |
||
109 | * @param int $fileSize |
||
110 | * @return MediaContentInterface |
||
111 | */ |
||
112 | 47 | public function setFileSize(?int $fileSize) : MediaContentInterface |
|
118 | |||
119 | /** |
||
120 | * @return int |
||
121 | */ |
||
122 | 2 | public function getBitrate() : ?int |
|
126 | |||
127 | /** |
||
128 | * @param int $bitrate |
||
129 | * @return MediaContentInterface |
||
130 | */ |
||
131 | 47 | public function setBitrate(?int $bitrate) : MediaContentInterface |
|
137 | |||
138 | /** |
||
139 | * @return int |
||
140 | */ |
||
141 | 2 | public function getFramerate() : ?int |
|
145 | |||
146 | /** |
||
147 | * @param int $framerate |
||
148 | * @return MediaContentInterface |
||
149 | */ |
||
150 | 47 | public function setFramerate(?int $framerate) : MediaContentInterface |
|
156 | |||
157 | /** |
||
158 | * @return integer |
||
159 | */ |
||
160 | 2 | public function getSamplingrate() : ?float |
|
164 | |||
165 | /** |
||
166 | * @param float $samplingrate |
||
167 | * @return MediaContentInterface |
||
168 | */ |
||
169 | 47 | public function setSamplingrate(?float $samplingrate) : MediaContentInterface |
|
175 | |||
176 | /** |
||
177 | * @return int |
||
178 | */ |
||
179 | 2 | public function getDuration() : ?int |
|
183 | |||
184 | /** |
||
185 | * @param int $duration |
||
186 | * @return MediaContentInterface |
||
187 | */ |
||
188 | 47 | public function setDuration(?int $duration) : MediaContentInterface |
|
194 | |||
195 | /** |
||
196 | * @return int |
||
197 | */ |
||
198 | 2 | public function getHeight() : ?int |
|
202 | |||
203 | /** |
||
204 | * @param int $height |
||
205 | * @return MediaContentInterface |
||
206 | */ |
||
207 | 47 | public function setHeight(?int $height) : MediaContentInterface |
|
213 | |||
214 | /** |
||
215 | * @return int |
||
216 | */ |
||
217 | 2 | public function getWidth() : ?int |
|
221 | |||
222 | /** |
||
223 | * @param int $width |
||
224 | * @return MediaContentInterface |
||
225 | */ |
||
226 | 47 | public function setWidth(?int $width) : MediaContentInterface |
|
232 | |||
233 | /** |
||
234 | * @return string |
||
235 | */ |
||
236 | 2 | public function getLang() : ?string |
|
240 | |||
241 | /** |
||
242 | * @param string $lang |
||
243 | * @return MediaContentInterface |
||
244 | */ |
||
245 | 47 | public function setLang(?string $lang) : MediaContentInterface |
|
251 | |||
252 | /** |
||
253 | * @return int |
||
254 | */ |
||
255 | 2 | public function getExpression() : ?int |
|
259 | |||
260 | /** |
||
261 | * @param int $expression |
||
262 | * @return MediaContentInterface |
||
263 | */ |
||
264 | 47 | public function setExpression(?int $expression) : MediaContentInterface |
|
270 | |||
271 | /** |
||
272 | * @return int |
||
273 | */ |
||
274 | 2 | public function getMedium() : ?int |
|
278 | |||
279 | /** |
||
280 | * @param int $medium |
||
281 | * @return MediaContentInterface |
||
282 | */ |
||
283 | 47 | public function setMedium(?int $medium) : MediaContentInterface |
|
289 | |||
290 | /** |
||
291 | * @return bool |
||
292 | */ |
||
293 | 2 | public function isDefault() : bool |
|
297 | |||
298 | /** |
||
299 | * @param bool $default |
||
300 | * @return MediaContentInterface |
||
301 | */ |
||
302 | 1 | public function setDefault(bool $default) : MediaContentInterface |
|
308 | } |
||
309 |