| 1 | <?php |
||
| 9 | class Icon |
||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | private $url = ""; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * |
||
| 20 | * @var int |
||
| 21 | */ |
||
| 22 | private $height = 0; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * |
||
| 26 | * @var int |
||
| 27 | */ |
||
| 28 | private $width = 0; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * |
||
| 32 | * @return string |
||
| 33 | */ |
||
| 34 | public function getURL(): string |
||
| 38 | |||
| 39 | /** |
||
| 40 | * |
||
| 41 | * @param string $url |
||
| 42 | * @return Icon |
||
| 43 | */ |
||
| 44 | 3 | public function setURL(string $url) |
|
| 49 | |||
| 50 | /** |
||
| 51 | * |
||
| 52 | * @return int |
||
| 53 | */ |
||
| 54 | public function getHeight(): int |
||
| 58 | |||
| 59 | /** |
||
| 60 | * |
||
| 61 | * @param number $height |
||
| 62 | * @return Icon |
||
| 63 | */ |
||
| 64 | 3 | public function setHeight(int $height) |
|
| 69 | |||
| 70 | /** |
||
| 71 | * |
||
| 72 | * @return number |
||
| 73 | */ |
||
| 74 | public function getWidth(): int |
||
| 78 | |||
| 79 | /** |
||
| 80 | * |
||
| 81 | * @param number $width |
||
| 82 | * @return Icon |
||
| 83 | */ |
||
| 84 | 3 | public function setWidth(int $width) |
|
| 89 | } |