public static function findByPoint(Point $point, $kind, Point $radius = null, array $params = [], $results = 10) { if ($radius) { $params['spn'] = $radius->toString(); } return static::getData($point->toString(), array_merge(compact('kind', 'results'), $params)); }
/** * @return string */ public function getLongitude() { return $this->point->getLongitude(); }