From a5a4d3af45d042fe9a4a24d3533f7a749c9155be Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Fri, 22 Feb 2019 15:12:56 +0100 Subject: [PATCH 1/2] Documented the missing validation.static_method option --- reference/configuration/framework.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index fc07929a40f..9c910c599e7 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -188,6 +188,7 @@ Configuration * :ref:`paths ` + * `static_method`_ * `strict_email`_ * `translation_domain`_ @@ -1735,6 +1736,15 @@ translation_domain The translation domain that is used when translating validation constraint error messages. +static_method +............. + +**type**: ``string | array`` **default**: ``['loadValidatorMetadata']`` + +Defines the static method which is called to load the validation metadata of the +class. You can define an array of strings with the names of several methods. In +that case, all of them will be called in that order to load the metadata. + strict_email ............ From 991bebc0ad4b43c4b06d4d7090306224ffdc427b Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Fri, 22 Feb 2019 16:28:10 +0100 Subject: [PATCH 2/2] Minor tweak --- reference/configuration/framework.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index 9c910c599e7..32f8cb2bdfb 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -1741,9 +1741,10 @@ static_method **type**: ``string | array`` **default**: ``['loadValidatorMetadata']`` -Defines the static method which is called to load the validation metadata of the -class. You can define an array of strings with the names of several methods. In -that case, all of them will be called in that order to load the metadata. +Defines the name of the static method which is called to load the validation +metadata of the class. You can define an array of strings with the names of +several methods. In that case, all of them will be called in that order to load +the metadata. strict_email ............