Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Coverage | 44.44% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | abstract class BaseRule implements BaseRuleInterface |
||
13 | { |
||
14 | /** |
||
15 | * {@inheritDoc} |
||
16 | */ |
||
17 | 61 | public function validate($value): void |
|
20 | } |
||
21 | |||
22 | /** |
||
23 | * {@inheritDoc} |
||
24 | */ |
||
25 | public function isValid($value): bool |
||
32 | } |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @param mixed $value |
||
37 | * |
||
38 | * @return ExecutionResultInterface |
||
39 | */ |
||
40 | 61 | protected function execute($value): ExecutionResultInterface |
|
45 |