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 e082c3a commit 1a71a9cCopy full SHA for 1a71a9c
validation/custom_constraint.rst
@@ -52,7 +52,7 @@ First you need to create a Constraint class and extend :class:`Symfony\\Componen
52
53
.. note::
54
55
- The ``@Annotation`` annotation is necessary for this new constraint in
+ The ``@Annotation`` or ``#[\Attribute]`` annotation is necessary for this new constraint in
56
order to make it available for use in classes via annotations.
57
Options for your constraint are represented as public properties on the
58
constraint class.
0 commit comments