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.
1 parent ce6b4b7 commit b05f043Copy full SHA for b05f043
validation/custom_constraint.rst
@@ -14,6 +14,12 @@ Creating the Constraint Class
14
15
First you need to create a Constraint class and extend :class:`Symfony\\Component\\Validator\\Constraint`:
16
17
+.. versionadded:: 5.2
18
+
19
+ The ability to use PHP attributes to configure constraint was introduced in
20
+ Symfony 5.2. Prior to this, Doctrine Annotations were the only way to
21
+ annotate constraints.
22
23
.. configuration-block::
24
25
.. code-block:: php-annotations
0 commit comments