GeoPolygonQuery
in package
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
Return values
mixed —boost()
public
boost(float $boost) : GeoPolygonQuery
Parameters
- $boost : float
Return values
GeoPolygonQuery —field()
public
field(string $field) : GeoPolygonQuery
Parameters
- $field : string
Return values
GeoPolygonQuery —jsonSerialize()
public
jsonSerialize() : mixed