Skip to content

Commit e0d5ef9

Browse files
committed
Merge branch '3.4' into 4.3
* 3.4: Update validation.rst
2 parents 81bcaa7 + 9d1ca57 commit e0d5ef9

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)