protected function validateEmail($email)
    {
        if (!$email) {
            return false;
        }

        $validator = $this->getEmailValidator();

        return $validator->isValid($email);
    }
protected function validateEmail($email)
    {
        if (!$email) {
            return false;
        }

        $validator = $this->getEmailValidator();

        return $validator->isValid($email);
    }
protected function validateEmail ( $ email ) { if ( ! $ email ) { return false ; } $ validator = $ this -> getEmailValidator ( ) ; return $ validator -> isValid ( $ email ) ; }
Validates an email address.

@param string $email

@return bool
Validates an email address .