| 1 | <?php |
||
| 9 | class Result |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $result; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * |
||
| 20 | * @var Icon |
||
| 21 | */ |
||
| 22 | private $icon; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | private $firstURL; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * |
||
| 32 | * @var string |
||
| 33 | */ |
||
| 34 | private $text; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * |
||
| 38 | * @return string |
||
| 39 | */ |
||
| 40 | public function getResult(): string |
||
| 44 | |||
| 45 | /** |
||
| 46 | * |
||
| 47 | * @param string $result |
||
| 48 | * @return Result |
||
| 49 | */ |
||
| 50 | 3 | public function setResult(string $result) |
|
| 55 | |||
| 56 | /** |
||
| 57 | * |
||
| 58 | * @return Icon |
||
| 59 | */ |
||
| 60 | public function getIcon(): Icon |
||
| 64 | |||
| 65 | /** |
||
| 66 | * |
||
| 67 | * @param Icon $icon |
||
| 68 | * @return Result |
||
| 69 | */ |
||
| 70 | 3 | public function setIcon(Icon $icon) |
|
| 75 | |||
| 76 | /** |
||
| 77 | * |
||
| 78 | * @return string |
||
| 79 | */ |
||
| 80 | public function getFirstURL(): string |
||
| 84 | |||
| 85 | /** |
||
| 86 | * |
||
| 87 | * @param string $firstURL |
||
| 88 | * @return Result |
||
| 89 | */ |
||
| 90 | 3 | public function setFirstURL(string $firstURL) |
|
| 95 | |||
| 96 | /** |
||
| 97 | * |
||
| 98 | * @return string |
||
| 99 | */ |
||
| 100 | public function getText(): string |
||
| 104 | |||
| 105 | /** |
||
| 106 | * |
||
| 107 | * @param string $text |
||
| 108 | * @return Result |
||
| 109 | */ |
||
| 110 | 3 | public function setText(string $text) |
|
| 115 | } |