original_string: public function filter($value, array $options = [])
      {
          return is_string($value)
              ? filter_var(Str::lower(trim($value)), FILTER_SANITIZE_EMAIL)
              : $value;
      }
code: public function filter($value, array $options = [])
      {
          return is_string($value)
              ? filter_var(Str::lower(trim($value)), FILTER_SANITIZE_EMAIL)
              : $value;
      }
code_tokens: public function filter ( $ value , array $ options = [ ] ) { return is_string ( $ value ) ? filter_var ( Str :: lower ( trim ( $ value ) ) , FILTER_SANITIZE_EMAIL ) : $ value ; }
docstring: Sanitize email of the given string.
  
  @param  mixed  $value
  @param  array  $options
  
  @return string|mixed
docstring_tokens: Sanitize email of the given string .