1 | <?php |
||
19 | class Details extends Query |
||
20 | { |
||
21 | /** |
||
22 | * Constructor. |
||
23 | * |
||
24 | * @param array $query Default value for this query |
||
25 | */ |
||
26 | public function __construct(array &$query = []) |
||
35 | |||
36 | /** |
||
37 | * Place information by placeId. |
||
38 | * |
||
39 | * @return Details |
||
40 | */ |
||
41 | public function placeId(int $placeId): self |
||
47 | |||
48 | /** |
||
49 | * Place information by osmtype and osmid. |
||
50 | * |
||
51 | * @return Details |
||
52 | */ |
||
53 | public function osmId(string $osmType, int $osmId): self |
||
60 | } |
||
61 |