You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/validator/introduction.rst
+4-6
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,6 @@ The Validator Component
10
10
* ``Contraints``: a constraint describes a rule that need to be validated
11
11
* ``Validators``: a list of classes that implement the validation logic for common usages
12
12
13
-
14
-
15
13
Installation
16
14
------------
17
15
@@ -20,7 +18,7 @@ You can install the component in 2 different ways:
20
18
* :doc:`Install it via Composer </components/using_components>` (``symfony/validator`` on `Packagist`_);
21
19
* Use the official Git repository (https://github.com/symfony/Validator).
22
20
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.
21
+
.. include:: /components/require_autoload.rst.inc
24
22
25
23
Usage
26
24
-----
@@ -51,7 +49,7 @@ point of the Validator component. To create a new instance of this class, it
51
49
is recommended to use the :class:`Symfony\\Component\\Validator\\Validation`
0 commit comments