We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c943d89 commit cab613eCopy full SHA for cab613e
validation/raw_values.rst
@@ -72,7 +72,7 @@ Validation of arrays is possible using the ``Collection`` constraint::
72
'password' => new Assert\Length(array('min' => 60)),
73
));
74
75
- $violations = $validator->validateValue($input, $constraint);
+ $violations = $validator->validate($input, $constraint);
76
77
The ``validate()`` method returns a :class:`Symfony\\Component\\Validator\\ConstraintViolationList`
78
object, which acts just like an array of errors. Each error in the collection
0 commit comments