Skip to content

Commit 9bc9dd1

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: Update validation.rst
2 parents 21f02d3 + e0d5ef9 commit 9bc9dd1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Using the ``validator`` Service
123123
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
124124

125125
Next, to actually validate an ``Author`` object, use the ``validate()`` method
126-
on the ``validator`` service (class :class:`Symfony\\Component\\Validator\\Validator`).
126+
on the ``validator`` service (which implements :class:`Symfony\\Component\\Validator\\Validator\\ValidatorInterface`).
127127
The job of the ``validator`` is to read the constraints (i.e. rules)
128128
of a class and verify if the data on the object satisfies those
129129
constraints. If validation fails, a non-empty list of errors

0 commit comments

Comments
 (0)