Skip to content

[Validator] - EmailConstraint reference #3469

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 2, 2014
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Version added and clarifications
  • Loading branch information
egulias committed Jan 12, 2014
commit f0b3b85567f0865a983e1ece7a0780416239597e
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.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be placed before the headline. So you get something like:

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

strict


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

Will validate the email against a simple RegularExpression.
When false, the email will be validated against a simple RegularExpression.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer Regular Expression

If true, then the `EmailValidator <https://packagist.org/packages/egulias/email-validator>`_ library
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

didn't notice this the first time, you should not put the URL inline. Do this: (also not the change of the text)

If true, then the `egulias/email-validator`_ library is required
to perform an RFC compilant validation.

.. at the end of the document
.. _EmailValidator: https://packagist.org/packages/egulias/email-validator

is required to perform an RFC compilant validation.

Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy