1 | <?php |
||
12 | class AroundQuery extends AbstractQuery { |
||
13 | |||
14 | /** |
||
15 | * @var PropertyId |
||
16 | */ |
||
17 | private $propertyId; |
||
18 | |||
19 | /** |
||
20 | * @var LatLongValue |
||
21 | */ |
||
22 | private $latLongValue; |
||
23 | |||
24 | /** |
||
25 | * @var float |
||
26 | */ |
||
27 | private $radius; |
||
28 | |||
29 | /** |
||
30 | * @param PropertyId $propertyId |
||
31 | * @param LatLongValue $latLongValue |
||
32 | * @param float $radius |
||
33 | */ |
||
34 | 4 | public function __construct( PropertyId $propertyId, LatLongValue $latLongValue, $radius ) { |
|
35 | 4 | $this->propertyId = $propertyId; |
|
36 | 4 | $this->latLongValue = $latLongValue; |
|
37 | 4 | $this->radius = $radius; |
|
38 | 4 | } |
|
39 | |||
40 | /** |
||
41 | * @return PropertyId |
||
42 | */ |
||
43 | 1 | public function getPropertyId() { |
|
46 | |||
47 | /** |
||
48 | * @return LatLongValue |
||
49 | */ |
||
50 | 1 | public function getLatLongValue() { |
|
53 | |||
54 | /** |
||
55 | * @return float |
||
56 | */ |
||
57 | 1 | public function getRadius() { |
|
60 | |||
61 | /** |
||
62 | * @see AbstractQuery::getType |
||
63 | */ |
||
64 | 1 | public function getType() { |
|
67 | } |
||
68 |