PHP Class Symfony\Component\Validator\Constraints\EmailValidator

Author: Bernhard Schussek ([email protected])
Inheritance: extends Symfony\Component\Validator\ConstraintValidator
Afficher le fichier Open project: symfony/validator Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( $strict = false )
validate ( $value, Constraint $constraint )

Private Methods

Méthode Description
checkHost ( string $host ) : boolean Check if one of MX, A or AAAA DNS RR exists.
checkMX ( string $host ) : boolean Check DNS Records for MX type.

Method Details

__construct() public méthode

public __construct ( $strict = false )

validate() public méthode

public validate ( $value, Constraint $constraint )
$constraint Symfony\Component\Validator\Constraint