Skip to content

Commit

Permalink
[WIP][Valiadtor] - EmailConstraint reference
Browse files Browse the repository at this point in the history
  • Loading branch information
egulias committed Jan 12, 2014
1 parent 6db5f23 commit faa034b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion reference/constraints/Email.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ cast to a string before being validated.
+----------------+---------------------------------------------------------------------+
| Applies to | :ref:`property or method <validation-property-target>` |
+----------------+---------------------------------------------------------------------+
| Options | - `message`_ |
| Options | - `strict`_ |
| | - `message`_ |
| | - `checkMX`_ |
| | - `checkHost`_ |
+----------------+---------------------------------------------------------------------+
Expand Down Expand Up @@ -89,6 +90,15 @@ Basic Usage
Options
-------

strict
~~~~~~~

**type**: ``boolean`` **default**: ``false``

Will validate the email against a simple RegularExpression.
If true, then the library (`egulias/email-validator`)[https://packagist.org/packages/egulias/email-validator]
is required to perform an RFC compilant validation.

message
~~~~~~~

Expand Down

0 comments on commit faa034b

Please sign in to comment.