original_string: public function sendData($data)
      {
          $httpResponse = $this->sendRequest($data);
  
          $responseClass = $this->getResponseClassName();
          return $this->response = new $responseClass($this, $httpResponse);
      }
code: public function sendData($data)
      {
          $httpResponse = $this->sendRequest($data);
  
          $responseClass = $this->getResponseClassName();
          return $this->response = new $responseClass($this, $httpResponse);
      }
code_tokens: public function sendData ( $ data ) { $ httpResponse = $ this -> sendRequest ( $ data ) ; $ responseClass = $ this -> getResponseClassName ( ) ; return $ this -> response = new $ responseClass ( $ this , $ httpResponse ) ; }
docstring: Send the request to the API then build the response object
  
  @param mixed $data  The data to encode and send to the API endpoint
  
  @return JsonResponse
docstring_tokens: Send the request to the API then build the response object