1 | <?php declare(strict_types=1); |
||
13 | class MediaSubtitle |
||
14 | { |
||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $type; |
||
19 | |||
20 | /** |
||
21 | * @var string |
||
22 | */ |
||
23 | protected $lang; |
||
24 | |||
25 | /** |
||
26 | * @var string |
||
27 | */ |
||
28 | protected $url; |
||
29 | |||
30 | /** |
||
31 | * @param string $type |
||
32 | * @return MediaSubtitle |
||
33 | */ |
||
34 | 1 | public function setType(? string $type) : MediaSubtitle |
|
39 | |||
40 | 1 | public function getType() : ? string |
|
44 | |||
45 | /** |
||
46 | * @param string $lang |
||
47 | * @return MediaSubtitle |
||
48 | */ |
||
49 | 1 | public function setLang(? string $lang) : MediaSubtitle |
|
54 | |||
55 | 1 | public function getLang() : ? string |
|
59 | |||
60 | /** |
||
61 | * @param string|null url |
||
62 | * @return MediaSubtitle |
||
63 | */ |
||
64 | 1 | public function setUrl(? string $url) : MediaSubtitle |
|
69 | |||
70 | 1 | public function getUrl() : ? string |
|
74 | } |
||
75 |