1 | <?php |
||
13 | class Information extends BaseEntity |
||
14 | { |
||
15 | /** |
||
16 | * @var Type |
||
17 | */ |
||
18 | private $type; |
||
19 | |||
20 | /** |
||
21 | * @var int |
||
22 | */ |
||
23 | private $episodes; |
||
24 | |||
25 | /** |
||
26 | * @var Status |
||
27 | */ |
||
28 | private $status; |
||
29 | |||
30 | /** |
||
31 | * @var DateTime |
||
32 | */ |
||
33 | private $airedFrom; |
||
34 | |||
35 | /** |
||
36 | * @var DateTime |
||
37 | */ |
||
38 | private $airedTo; |
||
39 | |||
40 | /** |
||
41 | * @var Season |
||
42 | */ |
||
43 | private $premiered; |
||
44 | |||
45 | /** |
||
46 | * @var string |
||
47 | */ |
||
48 | private $broadcast; |
||
49 | |||
50 | /** |
||
51 | * @var Producer[] |
||
52 | */ |
||
53 | private $producers; |
||
54 | |||
55 | /** |
||
56 | * @var Producer[] |
||
57 | */ |
||
58 | private $licensees; |
||
59 | |||
60 | /** |
||
61 | * @var Producer[] |
||
62 | */ |
||
63 | private $studios; |
||
64 | |||
65 | /** |
||
66 | * @var Source |
||
67 | */ |
||
68 | private $source; |
||
69 | |||
70 | /** |
||
71 | * @var Genre[] |
||
72 | */ |
||
73 | private $genres; |
||
74 | |||
75 | /** |
||
76 | * @var string |
||
77 | */ |
||
78 | private $duration; |
||
79 | |||
80 | /** |
||
81 | * @var string |
||
82 | */ |
||
83 | private $rating; |
||
84 | |||
85 | 2 | public function __construct() |
|
92 | |||
93 | /** |
||
94 | * @return Type |
||
95 | */ |
||
96 | 2 | public function getType(): ?Type |
|
100 | |||
101 | /** |
||
102 | * @param Type $type |
||
103 | * |
||
104 | * @return Information |
||
105 | */ |
||
106 | 2 | public function setType(Type $type): Information |
|
112 | |||
113 | /** |
||
114 | * @return int |
||
115 | */ |
||
116 | 2 | public function getEpisodes(): ?int |
|
120 | |||
121 | /** |
||
122 | * @param int $episodes |
||
123 | * |
||
124 | * @return Information |
||
125 | */ |
||
126 | 2 | public function setEpisodes(int $episodes): Information |
|
132 | |||
133 | /** |
||
134 | * @return Status |
||
135 | */ |
||
136 | 2 | public function getStatus(): ?Status |
|
140 | |||
141 | /** |
||
142 | * @param Status $status |
||
143 | * |
||
144 | * @return Information |
||
145 | */ |
||
146 | 2 | public function setStatus(Status $status): Information |
|
152 | |||
153 | /** |
||
154 | * @return DateTime |
||
155 | */ |
||
156 | 2 | public function getAiredFrom(): ?DateTime |
|
160 | |||
161 | /** |
||
162 | * @param DateTime $airedFrom |
||
163 | * |
||
164 | * @return Information |
||
165 | */ |
||
166 | 2 | public function setAiredFrom(DateTime $airedFrom): Information |
|
172 | |||
173 | /** |
||
174 | * @return DateTime |
||
175 | */ |
||
176 | 2 | public function getAiredTo(): ?DateTime |
|
180 | |||
181 | /** |
||
182 | * @param DateTime $airedTo |
||
183 | * |
||
184 | * @return Information |
||
185 | */ |
||
186 | 2 | public function setAiredTo(DateTime $airedTo): Information |
|
192 | |||
193 | /** |
||
194 | * @return Season |
||
195 | */ |
||
196 | 2 | public function getPremiered(): ?Season |
|
200 | |||
201 | /** |
||
202 | * @param Season $premiered |
||
203 | * |
||
204 | * @return Information |
||
205 | */ |
||
206 | 2 | public function setPremiered(Season $premiered): Information |
|
212 | |||
213 | /** |
||
214 | * @return string |
||
215 | */ |
||
216 | 2 | public function getBroadcast(): ?string |
|
220 | |||
221 | /** |
||
222 | * @param string $broadcast |
||
223 | * |
||
224 | * @return Information |
||
225 | */ |
||
226 | 2 | public function setBroadcast(string $broadcast): Information |
|
232 | |||
233 | /** |
||
234 | * @return Producer[] |
||
235 | */ |
||
236 | 2 | public function getProducers(): array |
|
240 | |||
241 | /** |
||
242 | * @param Producer[] $producers |
||
243 | * |
||
244 | * @return Information |
||
245 | */ |
||
246 | 2 | public function setProducers(array $producers): Information |
|
252 | |||
253 | /** |
||
254 | * @param Producer $producer |
||
255 | * |
||
256 | * @return Information |
||
257 | */ |
||
258 | 1 | public function addProducer(Producer $producer): Information |
|
264 | |||
265 | /** |
||
266 | * @return Producer[] |
||
267 | */ |
||
268 | 2 | public function getLicensees(): array |
|
272 | |||
273 | /** |
||
274 | * @param Producer[] $licensees |
||
275 | * |
||
276 | * @return Information |
||
277 | */ |
||
278 | 2 | public function setLicensees(array $licensees): Information |
|
284 | |||
285 | /** |
||
286 | * @param Producer $licensee |
||
287 | * |
||
288 | * @return Information |
||
289 | */ |
||
290 | 1 | public function addLicensee(Producer $licensee): Information |
|
296 | |||
297 | /** |
||
298 | * @return Producer[] |
||
299 | */ |
||
300 | 2 | public function getStudios(): array |
|
304 | |||
305 | /** |
||
306 | * @param Producer[] $studios |
||
307 | * |
||
308 | * @return Information |
||
309 | */ |
||
310 | 2 | public function setStudios(array $studios): Information |
|
316 | |||
317 | /** |
||
318 | * @param Producer $studio |
||
319 | * |
||
320 | * @return Information |
||
321 | */ |
||
322 | 1 | public function addStudio(Producer $studio): Information |
|
328 | |||
329 | /** |
||
330 | * @return Source |
||
331 | */ |
||
332 | 2 | public function getSource(): ?Source |
|
336 | |||
337 | /** |
||
338 | * @param Source $source |
||
339 | * |
||
340 | * @return Information |
||
341 | */ |
||
342 | 2 | public function setSource(Source $source): Information |
|
348 | |||
349 | /** |
||
350 | * @return Genre[] |
||
351 | */ |
||
352 | 2 | public function getGenres(): array |
|
356 | |||
357 | /** |
||
358 | * @param Genre[] $genres |
||
359 | * |
||
360 | * @return Information |
||
361 | */ |
||
362 | 2 | public function setGenres(array $genres): Information |
|
368 | |||
369 | /** |
||
370 | * @param Genre $genre |
||
371 | * |
||
372 | * @return Information |
||
373 | */ |
||
374 | 1 | public function addGenre(Genre $genre): Information |
|
380 | |||
381 | /** |
||
382 | * @return string |
||
383 | */ |
||
384 | 2 | public function getDuration(): ?string |
|
388 | |||
389 | /** |
||
390 | * @param string $duration |
||
391 | * |
||
392 | * @return Information |
||
393 | */ |
||
394 | 2 | public function setDuration(string $duration): Information |
|
400 | |||
401 | /** |
||
402 | * @return string |
||
403 | */ |
||
404 | 2 | public function getRating(): ?string |
|
408 | |||
409 | /** |
||
410 | * @param string $rating |
||
411 | * |
||
412 | * @return Information |
||
413 | */ |
||
414 | 2 | public function setRating(string $rating): Information |
|
420 | |||
421 | /** |
||
422 | * @inheritDoc |
||
423 | */ |
||
424 | 1 | public function jsonSerialize(): array |
|
443 | } |