| Total Complexity | 2 |
| Total Lines | 22 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 13 | class ExpressionFilter implements FilterInterface |
||
| 14 | { |
||
| 15 | protected string $expression; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param string $expression |
||
| 19 | */ |
||
| 20 | 2 | public function __construct(string $expression) |
|
| 23 | } |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Return the filter as it can be used in the druid query. |
||
| 27 | * |
||
| 28 | * @return array<string,string> |
||
| 29 | */ |
||
| 30 | 2 | public function toArray(): array |
|
| 37 | } |