| 1 | <?php |
||
| 11 | class PropertyListElement { |
||
| 12 | |||
| 13 | private $propertyId; |
||
| 14 | private $propertyType; |
||
| 15 | private $pageUrl; |
||
| 16 | private $apiUrl; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param PropertyId $propertyId |
||
| 20 | * @param string $propertyType |
||
| 21 | * @param string $pageUrl |
||
| 22 | * @param string $apiUrl |
||
| 23 | */ |
||
| 24 | 2 | public function __construct( PropertyId $propertyId, $propertyType, $pageUrl, $apiUrl ) { |
|
| 30 | |||
| 31 | /** |
||
| 32 | * @return string |
||
| 33 | */ |
||
| 34 | 1 | public function getApiUrl() { |
|
| 37 | |||
| 38 | /** |
||
| 39 | * @return string |
||
| 40 | */ |
||
| 41 | 1 | public function getWikidataUrl() { |
|
| 44 | |||
| 45 | /** |
||
| 46 | * @return PropertyId |
||
| 47 | */ |
||
| 48 | 1 | public function getPropertyId() { |
|
| 51 | |||
| 52 | /** |
||
| 53 | * @return string |
||
| 54 | */ |
||
| 55 | 1 | public function getPropertyType() { |
|
| 58 | |||
| 59 | } |
||
| 60 |