PHP Class Redaxscript\Validator\Email

Since: 2.2.0
Author: Henry Ruhs
Author: Sven Weingartner
Inheritance: implements Redaxscript\Validator\ValidatorInterface
显示文件 Open project: redaxmedia/redaxscript Class Usage Examples

Public Methods

Method Description
validate ( string $email = null, boolean $dns = true ) : integer validate the email

Method Details

validate() public method

validate the email
Since: 2.2.0
public validate ( string $email = null, boolean $dns = true ) : integer
$email string target email address
$dns boolean optional validate dns
return integer