1 | <?php declare(strict_types = 1); |
||
9 | class Url |
||
10 | { |
||
11 | /** |
||
12 | * A text identifier for the URL. |
||
13 | * |
||
14 | * @var string |
||
15 | */ |
||
16 | private $type; |
||
17 | |||
18 | /** |
||
19 | * A full URL (including scheme, domain, and path). |
||
20 | * |
||
21 | * @var string |
||
22 | */ |
||
23 | private $url; |
||
24 | |||
25 | /** |
||
26 | * @return string |
||
27 | */ |
||
28 | public function getType() |
||
32 | |||
33 | /** |
||
34 | * @param string $type |
||
35 | */ |
||
36 | public function setType(string $type) |
||
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | */ |
||
44 | public function getUrl() |
||
48 | |||
49 | /** |
||
50 | * @param string $url |
||
51 | */ |
||
52 | public function setUrl(string $url) |
||
56 | } |
||
57 |