We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2217d9e + 2276534 commit f3db711Copy full SHA for f3db711
validation.rst
@@ -23,7 +23,14 @@ install the validator before using it:
23
24
.. code-block:: terminal
25
26
- $ composer require symfony/validator doctrine/annotations
+ $ composer require symfony/validator
27
+
28
+If your project still uses annotations to define the validation constraints (as
29
+shown later in this article) you also need to install ``doctrine/annotations``:
30
31
+.. code-block:: terminal
32
33
+ $ composer require doctrine/annotations
34
35
.. note::
36
0 commit comments