Elastica\Aggregation\BucketScript::setBucketsPath PHP Method

setBucketsPath() public method

Set the buckets_path for this aggregation.
public setBucketsPath ( array $bucketsPath )
$bucketsPath array
    public function setBucketsPath($bucketsPath)
    {
        return $this->setParam('buckets_path', $bucketsPath);
    }