Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | abstract class GroupRule extends Rule |
||
19 | { |
||
20 | use HasValidationErrorMessage; |
||
21 | |||
22 | protected string $message = 'This value is not a valid.'; |
||
23 | |||
24 | 3 | protected function validateValue($value, DataSetInterface $dataSet = null): Result |
|
32 | } |
||
33 | |||
34 | /** |
||
35 | * Return custom rules set |
||
36 | * |
||
37 | * @return Rules |
||
38 | */ |
||
39 | abstract protected function getRules(): Rules; |
||
40 | |||
41 | 3 | public function getRawOptions(?ErrorMessageFormatterInterface $formatter = null): array |
|
46 |