| Total Complexity | 5 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class ExpressionPostAggregator implements PostAggregatorInterface |
||
| 9 | { |
||
| 10 | protected string $outputName; |
||
| 11 | |||
| 12 | protected string $expression; |
||
| 13 | |||
| 14 | protected ?string $ordering; |
||
| 15 | |||
| 16 | protected DataType|string|null $outputType; |
||
| 17 | |||
| 18 | 3 | public function __construct( |
|
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Return the aggregator as it can be used in a druid query. |
||
| 33 | * |
||
| 34 | * @return array<string,string> |
||
| 35 | */ |
||
| 36 | 3 | public function toArray(): array |
|
| 57 | } |
||
| 58 | } |