1 | <?php |
||
19 | abstract class AbstractGeocoderReverseRequest extends AbstractGeocoderRequest |
||
20 | { |
||
21 | /** |
||
22 | * @var string[] |
||
23 | */ |
||
24 | private $resultTypes = []; |
||
25 | |||
26 | /** |
||
27 | * @var string[] |
||
28 | */ |
||
29 | private $locationTypes = []; |
||
30 | |||
31 | /** |
||
32 | * @return bool |
||
33 | */ |
||
34 | public function hasResultTypes() |
||
38 | |||
39 | /** |
||
40 | * @return string[] |
||
41 | */ |
||
42 | public function getResultTypes() |
||
46 | |||
47 | /** |
||
48 | * @param string[] $resultTypes |
||
49 | */ |
||
50 | public function setResultTypes(array $resultTypes) |
||
55 | |||
56 | /** |
||
57 | * @param string[] $resultTypes |
||
58 | */ |
||
59 | public function addResultTypes(array $resultTypes) |
||
65 | |||
66 | /** |
||
67 | * @param string $resultType |
||
68 | * |
||
69 | * @return bool |
||
70 | */ |
||
71 | public function hasResultType($resultType) |
||
75 | |||
76 | /** |
||
77 | * @param string $resultType |
||
78 | */ |
||
79 | public function addResultType($resultType) |
||
85 | |||
86 | /** |
||
87 | * @param string $resultType |
||
88 | */ |
||
89 | public function removeResultType($resultType) |
||
94 | |||
95 | /** |
||
96 | * @return bool |
||
97 | */ |
||
98 | public function hasLocationTypes() |
||
102 | |||
103 | /** |
||
104 | * @return string[] |
||
105 | */ |
||
106 | public function getLocationTypes() |
||
110 | |||
111 | /** |
||
112 | * @param string[] $locationTypes |
||
113 | */ |
||
114 | public function setLocationTypes(array $locationTypes) |
||
119 | |||
120 | /** |
||
121 | * @param string[] $locationTypes |
||
122 | */ |
||
123 | public function addLocationTypes(array $locationTypes) |
||
129 | |||
130 | /** |
||
131 | * @param string $locationType |
||
132 | * |
||
133 | * @return bool |
||
134 | */ |
||
135 | public function hasLocationType($locationType) |
||
139 | |||
140 | /** |
||
141 | * @param string $locationType |
||
142 | */ |
||
143 | public function addLocationType($locationType) |
||
149 | |||
150 | /** |
||
151 | * @param string $locationType |
||
152 | */ |
||
153 | public function removeLocationType($locationType) |
||
158 | |||
159 | /** |
||
160 | * {@inheritdoc} |
||
161 | */ |
||
162 | public function buildQuery() |
||
176 | } |
||
177 |