HttpQueryString::set
HttpQueryString::toArray
The HttpQueryString class
PHP Manual

# HttpQueryString::singleton

(PECL pecl_http >= 0.25.0)

HttpQueryString::singleton — HttpQueryString singleton

### Descrição

static public HttpQueryString HttpQueryString::singleton ([ bool `$global` = true ] )

Get a single instance (differentiates between the global setting).

### Parâmetros

`global`

  whether to operate on $_GET and $_SERVER['QUERY_STRING']

### Valor Retornado

Returns always the same HttpQueryString instance regarding the global setting.

### Erros

Throws HttpRuntimeException.

HttpQueryString::set
HttpQueryString::toArray
The HttpQueryString class
PHP Manual