Skip to content

Commit 0bb5b5b

Browse files
authored
Update validation.rst
1 parent 90b5e31 commit 0bb5b5b

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
@@ -111,7 +111,7 @@ Using the ``validator`` Service
111111
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112112

113113
Next, to actually validate an ``Author`` object, use the ``validate()`` method
114-
on the ``validator`` service (class :class:`Symfony\\Component\\Validator\\Validator`).
114+
on the ``validator`` service (implementation of :class:`Symfony\\Component\\Validator\\Validator\\ValidatorInterface`).
115115
The job of the ``validator`` is easy: to read the constraints (i.e. rules)
116116
of a class and verify if the data on the object satisfies those
117117
constraints. If validation fails, a non-empty list of errors

0 commit comments

Comments
 (0)