Skip to content

Commit 47dcb1c

Browse files
committed
Minor tweal
1 parent 4dc452c commit 47dcb1c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

reference/constraints/Email.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,11 @@ This option defines the pattern used to validate the email address. Valid values
135135
* ``strict`` uses the `egulias/email-validator`_ library (which you must
136136
install separately) for validation according to `RFC 5322`_.
137137

138-
You can also use the class constants of :class:`Symfony\\Component\\Validator\\Constraints\\Email`,
139-
e.g. ``Email::VALIDATION_MODE_STRICT``.
138+
.. tip::
139+
140+
The possible values of this option are also defined as PHP constants of
141+
:class:`Symfony\\Component\\Validator\\Constraints\\Email`
142+
(e.g. ``Email::VALIDATION_MODE_STRICT``).
140143

141144
The default value used by this option is set in the
142145
:ref:`framework.validation.email_validation_mode <reference-validation-email_validation_mode>`

0 commit comments

Comments
 (0)