Total Complexity | 4 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | final class ReportValidator implements ReportValidatorInterface |
||
12 | { |
||
13 | /** @var ValidatorInterface */ |
||
14 | private $validator; |
||
15 | |||
16 | /** @var ErrorFactoryInterface */ |
||
17 | private $errorFactory; |
||
18 | |||
19 | /** @var array */ |
||
20 | private $validationGroups; |
||
21 | |||
22 | public function __construct(ValidatorInterface $validator, ErrorFactoryInterface $errorFactory, array $validationGroups) |
||
27 | } |
||
28 | |||
29 | public function validate(ReportInterface $report): void |
||
45 |