Skip to content

Commit 4124ec2

Browse files
committed
minor #12447 Update validation.rst (atailouloute)
This PR was merged into the 3.4 branch. Discussion ---------- Update validation.rst As the Validator class does not exist anymore, this part is not up to date. Commits ------- 0bb5b5b Update validation.rst
2 parents 90b5e31 + 0bb5b5b commit 4124ec2

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)