Skip to content

Commit e82c918

Browse files
richsagexabbuh
authored andcommitted
Clarify the mappings that require no method prefix.
1 parent 5f004c3 commit e82c918

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

validation.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -639,9 +639,9 @@ Now, create the ``isPasswordLegal()`` method and include the logic you need::
639639
.. note::
640640

641641
The keen-eyed among you will have noticed that the prefix of the getter
642-
("get", "is" or "has") is omitted in the mapping. This allows you to move
643-
the constraint to a property with the same name later (or vice versa)
644-
without changing your validation logic.
642+
("get", "is" or "has") is omitted in the mappings for the YAML, XML and PHP
643+
formats. This allows you to move the constraint to a property with the same
644+
name later (or vice versa) without changing your validation logic.
645645

646646
.. _validation-class-target:
647647

0 commit comments

Comments
 (0)