8000 Also mention "hassers" · symfony/symfony-docs@1d91c30 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1d91c30

Browse files
mpdudexabbuh
authored andcommitted
Also mention "hassers"
At least in http://symfony.com/doc/current/validation.html, "hasXXX" methods are mentioned in addition to "getXXX" and "isXXX".
1 parent a0cea04 commit 1d91c30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/validator/metadata.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ Getters
3636
-------
3737

3838
Constraints can also be applied to the value returned by any public *getter*
39-
method, which are the methods whose names start with ``get`` or ``is``. This
40-
feature allows to validate your objects dynamically.
39+
method, which are the methods whose names start with ``get``, ``has`` or ``is``.
40+
This feature allows to validate your objects dynamically.
4141

4242
Suppose that, for security reasons, you want to validate that a password field
4343
doesn't match the first name of the user. First, create a public method called

0 commit comments

Comments
 (0)
0