Documentation

GeoPolygonQuery implements JsonSerializable, SearchQuery

A FTS query that finds all matches within the given polygon area.

Interfaces, Classes and Traits

JsonSerializable
SearchQuery
Common interface for all classes, which could be used as a body of SearchQuery

Table of Contents

__construct()  : mixed
boost()  : GeoPolygonQuery
field()  : GeoPolygonQuery
jsonSerialize()  : mixed

Methods

__construct()

public __construct(array<string|int, mixed> $coordinates) : mixed
Parameters
$coordinates : array<string|int, mixed>

list of objects of type Coordinate

Tags
see
Coordinate
Return values
mixed

jsonSerialize()

public jsonSerialize() : mixed
Return values
mixed

Search results