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