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