Total Complexity | 2 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
6 | class DimensionSelectorHavingFilter implements HavingFilterInterface |
||
7 | { |
||
8 | protected string $dimension; |
||
9 | |||
10 | protected string $value; |
||
11 | |||
12 | /** |
||
13 | * LessThanHavingFilter constructor. |
||
14 | * |
||
15 | * @param string $dimension |
||
16 | * @param string $value |
||
17 | */ |
||
18 | 13 | public function __construct(string $dimension, string $value) |
|
22 | } |
||
23 | |||
24 | /** |
||
25 | * Return the having filter as it can be used in a druid query. |
||
26 | * |
||
27 | * @return array<string,string> |
||
28 | */ |
||
29 | 9 | public function toArray(): array |
|
37 | } |