Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
Elastica
Aggregation
GeoCentroid
__construct
Elastica\Aggregation\GeoCentroid::__construct PHP Méthode
GeoCentroid Class Documentation
Afficher le fichier
Open project: ruflin/elastica
__construct()
public
méthode
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