Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1d91c30

Browse filesBrowse 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
Copy full SHA for 1d91c30

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎components/validator/metadata.rst

Copy file name to clipboardExpand all lines: components/validator/metadata.rst
+2-2Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.