PHP Class Elastica\Query\GeoPolygon

Inheritance: extends AbstractQuery
Datei anzeigen Open project: ruflin/elastica

Protected Properties

Property Type Description
$_key Key.
$_points Points making up polygon.

Public Methods

Method Description
__construct ( string $key, array $points ) Construct polygon query.
toArray ( ) : array Converts query to array.

Method Details

__construct() public method

Construct polygon query.
public __construct ( string $key, array $points )
$key string Key
$points array Points making up polygon

toArray() public method

Converts query to array.
See also: Elastica\Query\AbstractQuery::toArray()
public toArray ( ) : array
return array

Property Details

$_key protected_oe property

Key.
protected $_key

$_points protected_oe property

Points making up polygon.
protected $_points