Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4124ec2

Browse filesBrowse 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
Copy full SHA for 4124ec2

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎validation.rst

Copy file name to clipboardExpand all lines: validation.rst
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.