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 26e5ae7 + aa7098c commit 08081f2Copy full SHA for 08081f2
reference/constraints/When.rst
@@ -169,8 +169,9 @@ in your expression:
169
``this``
170
The object being validated (e.g. an instance of Discount).
171
``value``
172
- The value of the property being validated (only available when
173
- the constraint is applied to a property).
+ Either the object being validated (when the constraint is applied to a class),
+ the value of the property being validated (when applied to a property),
174
+ or the :doc:`raw value </validation/raw_values>`.
175
``context``
176
The :class:`Symfony\\Component\\Validator\\Context\\ExecutionContextInterface`
177
object that provides information such as the currently validated class, the
0 commit comments