Elastica\Aggregation\AbstractSimpleAggregation::setField PHP Метод

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
    public function setField($field)
    {
        return $this->setParam('field', $field);
    }
AbstractSimpleAggregation