We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 81bcaa7 + 9d1ca57 commit e0d5ef9Copy full SHA for e0d5ef9
validation.rst
@@ -123,7 +123,7 @@ Using the ``validator`` Service
123
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
124
125
Next, to actually validate an ``Author`` object, use the ``validate()`` method
126
-on the ``validator`` service (class :class:`Symfony\\Component\\Validator\\Validator`).
+on the ``validator`` service (which implements :class:`Symfony\\Component\\Validator\\Validator\\ValidatorInterface`).
127
The job of the ``validator`` is to read the constraints (i.e. rules)
128
of a class and verify if the data on the object satisfies those
129
constraints. If validation fails, a non-empty list of errors
0 commit comments