original_string: protected function path() {
      $params = [];
      // Take arguments and pass them to the path by replacing {argument} tokens.
      foreach ($this->path_args as $argument => $value) {
        $params["{{$argument}}"] = $value;
      }
      $path = str_replace(array_keys($params), array_values($params), $this->path);
      return $this->endpoint . $path;
    }
code: protected function path() {
      $params = [];
      // Take arguments and pass them to the path by replacing {argument} tokens.
      foreach ($this->path_args as $argument => $value) {
        $params["{{$argument}}"] = $value;
      }
      $path = str_replace(array_keys($params), array_values($params), $this->path);
      return $this->endpoint . $path;
    }
code_tokens: protected function path ( ) { $ params = [ ] ; // Take arguments and pass them to the path by replacing {argument} tokens. foreach ( $ this -> path_args as $ argument => $ value ) { $ params [ "{{$argument}}" ] = $ value ; } $ path = str_replace ( array_keys ( $ params ) , array_values ( $ params ) , $ this -> path ) ; return $ this -> endpoint . $ path ; }
docstring: Generate HTTP request URL.
  
  @return (string) URL to create request.
docstring_tokens: Generate HTTP request URL .