Skip to content

Commit 7007300

Browse files
mickaelandrieuweaverryan
authored andcommitted
@ricardclau review
1 parent 84f4524 commit 7007300

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/validator/introduction.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Usage
2121

2222
The Validator component allows you to use very advanced validation rules, but
2323
it is also really easy to do easy validation tasks. For instance, if you want
24-
to validate a string is at least 10 character long, the only code you need is::
24+
to validate that a string is at least 10 character long, the only code you need is::
2525

2626
use Symfony\Component\Validator\Validation;
2727
use Symfony\Component\Validator\Constraints\Length;
@@ -42,7 +42,7 @@ Retrieving a Validator Instance
4242

4343
The :class:`Symfony\\Component\\Validator\\Validator` class is the main access
4444
point of the Validator component. To create a new instance of this class, it
45-
is recommend to use the :class:`Symfony\\Component\Validator\Validation`
45+
is recommended to use the :class:`Symfony\\Component\Validator\Validation`
4646
class.
4747

4848
You can get a very basic ``Validator`` by calling
@@ -52,8 +52,8 @@ You can get a very basic ``Validator`` by calling
5252

5353
$validator = Validation::createValidator();
5454

55-
The created validator can be used to validate strings, array, numbers, but it
56-
can't validate classes. To be able to do that, you have to configure the ``Validator``
55+
The created validator can be used to validate strings, arrays, numbers, but it
56+
can't validate classes. In order to achieve that, you have to configure the ``Validator``
5757
class. To do that, you can use the :class:`Symfony\\Component\\Validator\\ValidatorBuilder`.
5858
This class can be retrieved by using the
5959
:method:`Validation::createValidatorBuilder() <Symfony\\Component\\Validator\\Validation::createValidatorBuilder>`

0 commit comments

Comments
 (0)