Skip to content

Commit 3cb13f7

Browse files
committed
Merge branch '5.4' into 6.0
* 5.4: Adding class constants
2 parents 6b0fbec + 47dcb1c commit 3cb13f7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

reference/constraints/Email.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,12 @@ This option defines the pattern used to validate the email address. Valid values
131131
* ``strict`` uses the `egulias/email-validator`_ library (which you must
132132
install separately) for validation according to `RFC 5322`_.
133133

134+
.. tip::
135+
136+
The possible values of this option are also defined as PHP constants of
137+
:class:`Symfony\\Component\\Validator\\Constraints\\Email`
138+
(e.g. ``Email::VALIDATION_MODE_STRICT``).
139+
134140
The default value used by this option is set in the
135141
:ref:`framework.validation.email_validation_mode <reference-validation-email_validation_mode>`
136142
configuration option.

0 commit comments

Comments
 (0)