Skip to content

Commit 5970fba

Browse files
committed
Documented the missing validation.static_method option
1 parent 8f3e142 commit 5970fba

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

reference/configuration/framework.rst

Lines 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)