| Total Complexity | 3 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | class FieldAccessPostAggregator implements PostAggregatorInterface |
||
| 7 | { |
||
| 8 | protected string $fieldName; |
||
| 9 | |||
| 10 | protected string $outputName; |
||
| 11 | |||
| 12 | protected bool $finalizing; |
||
| 13 | |||
| 14 | 50 | public function __construct(string $fieldName, string $outputName, bool $finalizing = false) |
|
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Return the aggregator as it can be used in a druid query. |
||
| 23 | * |
||
| 24 | * @return array<string,string> |
||
| 25 | */ |
||
| 26 | 31 | public function toArray(): array |
|
| 34 | } |