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 5970fba

Browse filesBrowse files
committed
Documented the missing validation.static_method option
1 parent 8f3e142 commit 5970fba
Copy full SHA for 5970fba

File tree

Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+11
-0
lines changed

‎reference/configuration/framework.rst

Copy file name to clipboardExpand all lines: reference/configuration/framework.rst
+11Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ Configuration
188188

189189
* :ref:`paths <reference-validation-mapping-paths>`
190190

191+
* `static_method`_
191192
* `strict_email`_
192193
* `translation_domain`_
193194

@@ -1735,6 +1736,16 @@ translation_domain
17351736
The translation domain that is used when translating validation constraint
17361737
error messages.
17371738

1739+
static_method
1740+
.............
1741+
1742+
**type**: ``string | array`` **default**: ``['loadValidatorMetadata']``
1743+
1744+
Defines the name of the static method which is called to load the validation
1745+
metadata of the class. You can define an array of strings with the names of
1746+
several methods. In that case, all of them will be called in that order to load
1747+
the metadata.
1748+
17381749
strict_email
17391750
............
17401751

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.