original_string: public function createRequest($httpMethod, $path, $body = null, array $headers = array(), array $options = array())
      {
          $version = (isset($options['api_version']) ? "/".$options['api_version'] : "");
  
          $path    = $version.$path;
  
          return $this->client->createRequest($httpMethod, $path, $headers, $body, $options);
      }
code: public function createRequest($httpMethod, $path, $body = null, array $headers = array(), array $options = array())
      {
          $version = (isset($options['api_version']) ? "/".$options['api_version'] : "");
  
          $path    = $version.$path;
  
          return $this->client->createRequest($httpMethod, $path, $headers, $body, $options);
      }
code_tokens: public function createRequest ( $ httpMethod , $ path , $ body = null , array $ headers = array ( ) , array $ options = array ( ) ) { $ version = ( isset ( $ options [ 'api_version' ] ) ? "/" . $ options [ 'api_version' ] : "" ) ; $ path = $ version . $ path ; return $ this -> client -> createRequest ( $ httpMethod , $ path , $ headers , $ body , $ options ) ; }
docstring: Creating a request with the given arguments
  
  If api_version is set, appends it immediately after host
docstring_tokens: Creating a request with the given arguments