1 | <?php declare(strict_types=1); |
||
39 | class MediaStatus implements MediaStatusInterface |
||
40 | { |
||
41 | /** |
||
42 | * @var int |
||
43 | */ |
||
44 | protected $value; |
||
45 | |||
46 | /** |
||
47 | * @var string |
||
48 | */ |
||
49 | protected $reason; |
||
50 | |||
51 | /** |
||
52 | * @return int |
||
53 | */ |
||
54 | 2 | public function getValue() : ?int |
|
58 | |||
59 | /** |
||
60 | * @param int $value |
||
61 | * @return MediaValueInterface |
||
62 | */ |
||
63 | 2 | public function setValue(?int $value) : MediaStatusInterface |
|
69 | |||
70 | /** |
||
71 | * @return string |
||
72 | */ |
||
73 | 2 | public function getReason() : ?string |
|
77 | |||
78 | /** |
||
79 | * @param string $reason |
||
80 | * @return MediaStatusInterface |
||
81 | */ |
||
82 | 2 | public function setReason(?string $reason) : MediaStatusInterface |
|
88 | } |
||
89 |