Skip to content

Commit faa034b

Browse files
committed
[WIP][Valiadtor] - EmailConstraint reference
1 parent 6db5f23 commit faa034b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

reference/constraints/Email.rst

+11-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ cast to a string before being validated.
77
+----------------+---------------------------------------------------------------------+
88
| Applies to | :ref:`property or method <validation-property-target>` |
99
+----------------+---------------------------------------------------------------------+
10-
| Options | - `message`_ |
10+
| Options | - `strict`_ |
11+
| | - `message`_ |
1112
| | - `checkMX`_ |
1213
| | - `checkHost`_ |
1314
+----------------+---------------------------------------------------------------------+
@@ -89,6 +90,15 @@ Basic Usage
8990
Options
9091
-------
9192

93+
strict
94+
~~~~~~~
95+
96+
**type**: ``boolean`` **default**: ``false``
97+
98+
Will validate the email against a simple RegularExpression.
99+
If true, then the library (`egulias/email-validator`)[https://packagist.org/packages/egulias/email-validator]
100+
is required to perform an RFC compilant validation.
101+
92102
message
93103
~~~~~~~
94104

0 commit comments

Comments
 (0)