| Total Complexity | 2 | 
| Total Lines | 27 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 0 | ||
| 1 | <?php | ||
| 6 | abstract class Aggs | ||
| 7 | { | ||
| 8 | /** | ||
| 9 | * Aggregations | ||
| 10 | * | ||
| 11 | * @var array | ||
| 12 | */ | ||
| 13 | private $aggregations = []; | ||
| 1 ignored issue–
                            show | |||
| 14 | |||
| 15 | /** | ||
| 16 | * Add aggregation | ||
| 17 | * | ||
| 18 | * @param AbstractAggregation $agg | ||
| 19 | */ | ||
| 20 | 40 | protected function addAggregation(AbstractAggregation $agg) | |
| 23 | 40 | } | |
| 24 | |||
| 25 | /** | ||
| 26 | * Get aggregations | ||
| 27 | * | ||
| 28 | * @return array | ||
| 29 | */ | ||
| 30 | 40 | public function getAggregations() : array | |
| 35 |