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