PHP Класс Elastica\Aggregation\AbstractSimpleAggregation

Наследование: extends AbstractAggregation
Показать файл Открыть проект

Открытые методы

Метод Описание
setField ( string $field ) Set the field for this aggregation.
setScript ( string | Elastica\Script\AbstractScript $script ) Set a script for this aggregation.
toArray ( )

Описание методов

setField() публичный Метод

Set the field for this aggregation.
public setField ( string $field )
$field string the name of the document field on which to perform this aggregation

setScript() публичный Метод

Set a script for this aggregation.
public setScript ( string | Elastica\Script\AbstractScript $script )
$script string | Elastica\Script\AbstractScript

toArray() публичный Метод

public toArray ( )