| Total Complexity | 4 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php namespace Nord\Lumen\Elasticsearch\Search\Aggregation\Bucket; |
||
| 10 | class TermsAggregation extends AbstractAggregation |
||
| 11 | { |
||
| 12 | |||
| 13 | use HasField; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var int |
||
| 17 | */ |
||
| 18 | protected $minDocCount; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @return int|null |
||
| 22 | */ |
||
| 23 | public function getMinDocCount(): ?int |
||
| 26 | } |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param int $minDocCount |
||
| 30 | */ |
||
| 31 | public function setMinDocCount(int $minDocCount) |
||
| 36 | } |
||
| 37 | |||
| 38 | public function toArray() |
||
| 53 |