Elastica\Aggregation\AbstractAggregation::setName PHP Method

setName() public method

Set the name of this aggregation.
public setName ( string $name )
$name string
    public function setName($name)
    {
        $this->_name = $name;
        return $this;
    }