Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
14 | class ApplyBetween implements SpecInterface |
||
15 | { |
||
16 | /** |
||
17 | * @inheritdoc |
||
18 | */ |
||
19 | public function isSatisfiedBy(ProcessorInterface $processor, ExprInterface $exprClass): bool |
||
20 | { |
||
21 | if (! $exprClass instanceof BetweenExpr) { |
||
22 | return false; |
||
23 | } |
||
24 | |||
25 | return true; |
||
26 | } |
||
27 | |||
28 | /** |
||
29 | * @inheritdoc |
||
30 | */ |
||
31 | public function apply(ProcessorInterface $processor, ExprInterface $exprClass): Builder |
||
37 | ); |
||
38 | } |
||
40 |