public function addPath($name, $argument = null)
    {
        $this->path[] = $name;
        if ($argument !== null) {
            $this->path[] = $argument;
        }

        return $this;
    }
public function addPath($name, $argument = null)
    {
        $this->path[] = $name;
        if ($argument !== null) {
            $this->path[] = $argument;
        }

        return $this;
    }
public function addPath ( $ name , $ argument = null ) { $ this -> path [ ] = $ name ; if ( $ argument !== null ) { $ this -> path [ ] = $ argument ; } return $ this ; }
Add a path and an optional argument to this request.

@param string      $name     Path to add.
@param string|null $argument Optional argument to add.

@return RequestBuilder
Add a path and an optional argument to this request .