|
@@ 72-79 (lines=8) @@
|
| 69 |
|
* @override |
| 70 |
|
* @inheritDoc |
| 71 |
|
*/ |
| 72 |
|
public function geoRadius($key, $longitude, $latitude, $unit, $command, $count, $sort) |
| 73 |
|
{ |
| 74 |
|
// TODO: Implement geoRadius() method. |
| 75 |
|
$command = Enum::GEORADIUS; |
| 76 |
|
$args = [$key, $longitude, $latitude, $unit, $command, $count, $sort]; |
| 77 |
|
|
| 78 |
|
return $this->dispatch(Builder::build($command, $args)); |
| 79 |
|
} |
| 80 |
|
|
| 81 |
|
/** |
| 82 |
|
* @override |
|
@@ 85-92 (lines=8) @@
|
| 82 |
|
* @override |
| 83 |
|
* @inheritDoc |
| 84 |
|
*/ |
| 85 |
|
public function geoRadiusByMember($key, $member, $unit, $command, $count, $sort, $store, $storeDist) |
| 86 |
|
{ |
| 87 |
|
// TODO: Implement geoRadiusByMember() method. |
| 88 |
|
$command = Enum::GEORADIUSBYMEMBER; |
| 89 |
|
$args = [$key, $member, $unit, $command, $count, $sort, $store, $storeDist]; |
| 90 |
|
|
| 91 |
|
return $this->dispatch(Builder::build($command, $args)); |
| 92 |
|
} |
| 93 |
|
} |
| 94 |
|
|