@@ 33-42 (lines=10) @@ | ||
30 | /** |
|
31 | * {@inheritdoc} |
|
32 | */ |
|
33 | public function getExpression(string $fieldName, FilterDataInterface $data): Expression |
|
34 | { |
|
35 | $comparator = $data->getComparator() ?: self::TYPE_EQUAL; |
|
36 | ||
37 | return Query::comparison( |
|
38 | $comparator, |
|
39 | $fieldName, |
|
40 | $data->getValue() |
|
41 | ); |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * {@inheritdoc} |
@@ 33-42 (lines=10) @@ | ||
30 | /** |
|
31 | * {@inheritdoc} |
|
32 | */ |
|
33 | public function getExpression(string $fieldName, FilterDataInterface $data): Expression |
|
34 | { |
|
35 | $comparator = $data->getComparator() ?: Comparison::EQUALS; |
|
36 | ||
37 | return Query::comparison( |
|
38 | $comparator, |
|
39 | $fieldName, |
|
40 | $data->getValue() |
|
41 | ); |
|
42 | } |
|
43 | ||
44 | /** |
|
45 | * {@inheritdoc} |