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;
  }
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;
  }
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 ; }
Generate HTTP request URL.

@return (string) URL to create request.
Generate HTTP request URL .