src/UrlBuilder.php
public function setQueryParameter($name, $value)
    {
        $this->query[(string) $name] = (string) $value;

        return $this;
    }
public function setQueryParameter($name, $value)
    {
        $this->query[(string) $name] = (string) $value;

        return $this;
    }
public function setQueryParameter ( $ name , $ value ) { $ this -> query [ ( string ) $ name ] = ( string ) $ value ; return $ this ; }
Set a query parameter.

@param string $name  The name of the query parameter.

@param string $value The value of the query parameter.

@return UrlBuilder
Set a query parameter .