Total Complexity | 2 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class NullFilter implements FilterInterface |
||
15 | { |
||
16 | protected string $column; |
||
17 | |||
18 | protected ?ExtractionInterface $extractionFunction; |
||
19 | |||
20 | /** |
||
21 | * NullFilter constructor. |
||
22 | * |
||
23 | * @param string $column Input column or virtual column name to filter. |
||
24 | */ |
||
25 | 1 | public function __construct(string $column) |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * Return the filter as it can be used in the druid query. |
||
32 | * |
||
33 | * @return array<string,string|array<string,string|int|bool|array<mixed>>> |
||
34 | */ |
||
35 | 1 | public function toArray(): array |
|
43 | } |
||
44 | } |