Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Elastica
Aggregation
GeoCentroid
__construct
Elastica\Aggregation\GeoCentroid::__construct PHP Method
GeoCentroid Class Documentation
Datei anzeigen
Open project: ruflin/elastica
__construct()
public
method
public
__construct
(
string
$name
,
string
$field
)
$name
string
the name of this aggregation
$field
string
the field on which to perform this aggregation
public function __construct($name, $field) { parent::__construct($name); $this->setField($field); }
GeoCentroid
__construct
setField