1 | <?php |
||
13 | class Media implements MediaInterface |
||
14 | { |
||
15 | |||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $type; |
||
20 | |||
21 | /** |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $url; |
||
25 | |||
26 | /** |
||
27 | * @var int |
||
28 | */ |
||
29 | protected $length; |
||
30 | |||
31 | /** |
||
32 | * @return string |
||
33 | */ |
||
34 | public function getType() |
||
38 | |||
39 | /** |
||
40 | * @param string $type |
||
41 | * @return $this |
||
42 | */ |
||
43 | public function setType($type) |
||
49 | |||
50 | /** |
||
51 | * @return string |
||
52 | */ |
||
53 | public function getUrl() |
||
57 | |||
58 | /** |
||
59 | * @param string $url |
||
60 | * @return $this |
||
61 | */ |
||
62 | public function setUrl($url) |
||
68 | |||
69 | /** |
||
70 | * @return string |
||
71 | */ |
||
72 | public function getLength() |
||
76 | |||
77 | /** |
||
78 | * @param string $length |
||
79 | * @return $this |
||
80 | */ |
||
81 | public function setLength($length) |
||
87 | } |
||
88 |