diff --git a/reference/constraints/Length.rst b/reference/constraints/Length.rst index c1a8575070b..da25e5c1d40 100644 --- a/reference/constraints/Length.rst +++ b/reference/constraints/Length.rst @@ -201,10 +201,16 @@ You can use the following parameters in this message: Parameter Description ====================== ============================================================ ``{{ limit }}`` The expected maximum length +``{{ min }}`` The expected minimum length +``{{ max }}`` The expected maximum length ``{{ value }}`` The current (invalid) value ``{{ value_length }}`` The current value's length ====================== ============================================================ +.. versionadded:: 7.4 + + The `{{ min }}` and `{{ max }}` parameters were introduced in Symfony 7.4. + ``min`` ~~~~~~~ @@ -233,10 +239,16 @@ You can use the following parameters in this message: Parameter Description ====================== ============================================================ ``{{ limit }}`` The expected minimum length +``{{ min }}`` The expected minimum length +``{{ max }}`` The expected maximum length ``{{ value }}`` The current (invalid) value ``{{ value_length }}`` The current value's length ====================== ============================================================ +.. versionadded:: 7.4 + + The `{{ min }}` and `{{ max }}` parameters were introduced in Symfony 7.4. + .. include:: /reference/constraints/_normalizer-option.rst.inc .. include:: /reference/constraints/_payload-option.rst.inc