Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfaa034b

Browse files
committed
[WIP][Valiadtor] - EmailConstraint reference
1 parent6db5f23 commitfaa034b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

‎reference/constraints/Email.rst

Lines changed: 11 additions & 1 deletion
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)

[8]ページ先頭

©2009-2025 Movatter.jp