| Total Complexity | 3 | 
| Total Lines | 31 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 15 | abstract class AbstractSimpleOperator extends AbstractOperator | ||
| 16 | { | ||
| 17 | abstract protected function getDqlOperator(bool $isNot): string; | ||
| 18 | |||
| 19 | 33 | final protected function getConfiguration(LeafType $leafType): array | |
| 20 |     { | ||
| 21 | 33 | return [ | |
| 22 | 33 | 'fields' => [ | |
| 23 | 33 | [ | |
| 24 | 33 | 'name' => 'value', | |
| 25 | 33 | 'type' => self::nonNull($leafType), | |
| 26 | 33 | ], | |
| 27 | 33 | [ | |
| 28 | 33 | 'name' => 'not', | |
| 29 | 33 | 'type' => self::boolean(), | |
| 30 | 33 | 'defaultValue' => false, | |
| 31 | 33 | ], | |
| 32 | 33 | ], | |
| 33 | 33 | ]; | |
| 34 | } | ||
| 35 | |||
| 36 | 25 | final public function getDqlCondition(UniqueNameFactory $uniqueNameFactory, ClassMetadata $metadata, QueryBuilder $queryBuilder, string $alias, string $field, ?array $args): string | |
| 46 | } | ||
| 47 | } | ||
| 48 |