Total Complexity | 6 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
12 | class Each extends Rule |
||
13 | { |
||
14 | private Rules $rules; |
||
15 | |||
16 | private string $incorrectInputMessage = 'Value should be array or iterable'; |
||
17 | private string $message = '{error} {value} given.'; |
||
18 | |||
19 | public function __construct(Rules $rules) |
||
22 | } |
||
23 | |||
24 | protected function validateValue($value, DataSetInterface $dataSet = null): Result |
||
48 |