We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent700747d commit1b0e32bCopy full SHA for 1b0e32b
book/validation.rst
@@ -113,9 +113,9 @@ Next, to actually validate an ``Author`` object, use the ``validate`` method
113
on the ``validator`` service (class:class:`Symfony\\Component\\Validator\\Validator`).
114
The job of the ``validator`` is easy: to read the constraints (i.e. rules)
115
of a class and verify whether or not the data on the object satisfies those
116
-constraints. If validation fails, a non-empty list
117
-(class:class:`Symfony\\Component\\Validator\\ConstraintViolationList`)of errors
118
-isreturned. Take this simple example from inside a controller::
+constraints. If validation fails, a non-empty list of errors
+(class:class:`Symfony\\Component\\Validator\\ConstraintViolationList`)is
+returned. Take this simple example from inside a controller:
119
120
// ...
121
use Symfony\Component\HttpFoundation\Response;