1<?php
2
3namespace Elastica\Aggregation\Traits;
4
5trait BucketsPathTrait
6{
7    /**
8     * @return $this
9     */
10    public function setBucketsPath(string $bucketsPath): self
11    {
12        return $this->setParam('buckets_path', $bucketsPath);
13    }
14}
15