original_string: public function search($query)
      {
          $endpoint = $this->endpoint . '/search';
  
          $params = array_merge($this->prepareParams(), ['query' => $query]);
  
          $response = $this->restClient->get($endpoint, $params);
  
          return $response['body'];
      }
code: public function search($query)
      {
          $endpoint = $this->endpoint . '/search';
  
          $params = array_merge($this->prepareParams(), ['query' => $query]);
  
          $response = $this->restClient->get($endpoint, $params);
  
          return $response['body'];
      }
code_tokens: public function search ( $ query ) { $ endpoint = $ this -> endpoint . '/search' ; $ params = array_merge ( $ this -> prepareParams ( ) , [ 'query' => $ query ] ) ; $ response = $ this -> restClient -> get ( $ endpoint , $ params ) ; return $ response [ 'body' ] ; }
docstring: Seach for a subscriber by email or custom field value
  
  @param  string $query
  @return [type]
docstring_tokens: Seach for a subscriber by email or custom field value