1 | <?php |
||
8 | class CoordinatesCriteria implements CriteriaInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var float |
||
12 | */ |
||
13 | private $latitude; |
||
14 | |||
15 | /** |
||
16 | * @var float |
||
17 | */ |
||
18 | private $longitude; |
||
19 | |||
20 | /** |
||
21 | * @return float |
||
22 | */ |
||
23 | public function getLatitude() |
||
27 | |||
28 | /** |
||
29 | * @param float $latitude |
||
30 | */ |
||
31 | 1 | public function setLatitude($latitude) |
|
35 | |||
36 | /** |
||
37 | * @return float |
||
38 | */ |
||
39 | public function getLongitude() |
||
43 | |||
44 | /** |
||
45 | * @param float $longitude |
||
46 | */ |
||
47 | 1 | public function setLongitude($longitude) |
|
51 | |||
52 | /** |
||
53 | * {@inheritdoc} |
||
54 | */ |
||
55 | 2 | public function shouldBeApplied() |
|
60 | } |
||
61 |