original_string: public function convertResponse($response, $serviceResource)
      {
          $resourceName = substr($serviceResource, 0, -2);
          return $this->_convertResponseToModel($response, $resourceName);
      }
code: public function convertResponse($response, $serviceResource)
      {
          $resourceName = substr($serviceResource, 0, -2);
          return $this->_convertResponseToModel($response, $resourceName);
      }
code_tokens: public function convertResponse ( $ response , $ serviceResource ) { $ resourceName = substr ( $ serviceResource , 0 , - 2 ) ; return $ this -> _convertResponseToModel ( $ response , $ resourceName ) ; }
docstring: Converts a response to a model
  @param array $response
  @param string $serviceResource
  @return Base|Error
docstring_tokens: Converts a response to a model