We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfe3a20 commit bb9004eCopy full SHA for bb9004e
book/validation.rst
@@ -586,6 +586,9 @@ allows you to add a constraint to any public method whose name starts with
586
"get", "is" or "has". In this guide, these types of methods are referred to
587
as "getters".
588
589
+.. versionadded:: 2.5
590
+ Support for methods starting with ``has`` is new in Symfony 2.5.
591
+
592
The benefit of this technique is that it allows you to validate your object
593
dynamically. For example, suppose you want to make sure that a password field
594
doesn't match the first name of the user (for security reasons). You can
0 commit comments