Skip to content

Commit 58d0fa5

Browse files
mickaelandrieuweaverryan
authored andcommitted
fixed backslash on namespaces
1 parent 7007300 commit 58d0fa5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

components/validator/introduction.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ The Validator Component
66
=======================
77

88
The Validator component provides tools to validate values following the
9-
`JSR-303 Bean Validation specification`_.
9+
`JSR-303 Bean Validation specification`_. With the component, this is done in two parts:
10+
* ``Contraints``: a constraint describes a rule that need to be validated
11+
* ``Validators``: a list of classes that implement the validation logic for common usages
12+
13+
1014

1115
Installation
1216
------------
@@ -16,6 +20,8 @@ You can install the component in 2 different ways:
1620
* :doc:`Install it via Composer </components/using_components>` (``symfony/validator`` on `Packagist`_);
1721
* Use the official Git repository (https://github.com/symfony/Validator).
1822

23+
Then, require the vendor/autoload.php file to enable the autoloading mechanism provided by Composer. Otherwise, your application won't be able to find the classes of this Symfony component.
24+
1925
Usage
2026
-----
2127

@@ -42,7 +48,7 @@ Retrieving a Validator Instance
4248

4349
The :class:`Symfony\\Component\\Validator\\Validator` class is the main access
4450
point of the Validator component. To create a new instance of this class, it
45-
is recommended to use the :class:`Symfony\\Component\Validator\Validation`
51+
is recommended to use the :class:`Symfony\\Component\\Validator\\Validation`
4652
class.
4753

4854
You can get a very basic ``Validator`` by calling

0 commit comments

Comments
 (0)