Skip to content

Commit

Permalink
Version added and clarifications
Browse files Browse the repository at this point in the history
  • Loading branch information
egulias committed Jan 12, 2014
1 parent e4a0e2f commit f0b3b85
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions reference/constraints/Email.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,13 @@ Options
-------

strict
~~~~~~~
~~~~~~
.. versionadded:: 2.5
The ``strict`` option was introduced in Symfony 2.5.

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

Will validate the email against a simple RegularExpression.
When false, the email will be validated against a simple RegularExpression.
If true, then the `EmailValidator <https://packagist.org/packages/egulias/email-validator>`_ library
is required to perform an RFC compilant validation.

Expand Down

0 comments on commit f0b3b85

Please sign in to comment.