8000 Update validator.rst · symfony/symfony-docs@333d301 · GitHub
[go: up one dir, main page]

Skip to content

Commit 333d301

Browse files
authored
Update validator.rst
The Validator class doesn't exist anymore
1 parent 15b9b9b commit 333d301

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/validator.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ If you have lots of validation errors, you can filter them by error code::
6969
Retrieving a Validator Instance
7070
-------------------------------
7171

72-
The :class:`Symfony\\Component\\Validator\\Validator` class is the main access
73-
point of the Validator component. To create a new instance of this class, it's
72+
The Validator object (that implements :class:`Symfony\\Component\\Validator\\Validator\\ValidatorInterface`) is the main access
73+
point of the Validator component. To create a new instance of it, it's
7474
recommended to use the :class:`Symfony\\Component\\Validator\\Validation` class::
7575

7676
use Symfony\Component\Validator\Validation;
@@ -79,7 +79,7 @@ recommended to use the :class:`Symfony\\Component\\Validator\\Validation` class:
7979

8080
This ``$validator`` object can validate simple variables such as strings, numbers
8181
and arrays, but it can't validate objects. To do so, configure the
82-
``Validator`` class as explained in the next sections.
82+
``Validator`` as explained in the next sections.
8383

8484
Learn More
8585
----------

0 commit comments

Comments
 (0)
0