original_string: public function validateEmail($attribute, $value)
      {
          if (! is_string($value) && ! (is_object($value) && method_exists($value, '__toString'))) {
              return false;
          }
  
          return (new EmailValidator)->isValid($value, new RFCValidation);
      }
code: public function validateEmail($attribute, $value)
      {
          if (! is_string($value) && ! (is_object($value) && method_exists($value, '__toString'))) {
              return false;
          }
  
          return (new EmailValidator)->isValid($value, new RFCValidation);
      }
code_tokens: public function validateEmail ( $ attribute , $ value ) { if ( ! is_string ( $ value ) && ! ( is_object ( $ value ) && method_exists ( $ value , '__toString' ) ) ) { return false ; } return ( new EmailValidator ) -> isValid ( $ value , new RFCValidation ) ; }
docstring: Validate that an attribute is a valid e-mail address.
  
  @param  string  $attribute
  @param  mixed   $value
  @return bool
docstring_tokens: Validate that an attribute is a valid e - mail address .