Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | final class SymfonyValidatorFactory |
||
13 | { |
||
14 | /** |
||
15 | * Create validation result from array with errors. |
||
16 | * |
||
17 | * @param ConstraintViolationList $violations The validation errors |
||
18 | * @param ValidationResult|null $result The result |
||
19 | * |
||
20 | * @return ValidationResult The result |
||
21 | */ |
||
22 | public static function createValidationResult( |
||
40 |