Свойство | Type | Description | |
---|---|---|---|
$headers | array | Hash of request headers. | |
$host | string | The host name. | |
$languages | array | The languages are ordered in the user browser preferences. | |
$pathinfo | string | The path info always starts with a /. | |
$port | string | The port the request is made on. | |
$queryParams | array | Array of parameters extracted from the query string. | |
$scheme | string | The request scheme (http or https). |
Méthode | Description | |
---|---|---|
__sleep ( ) | ||
fromUrl ( string $url ) : |
Constructs a SimplifiedRequest object from a standard URL (http://www.example.com/foo/bar?queryParam=value). | |
setHeaders ( array $headers ) | ||
setHost ( string $host ) | ||
setLanguages ( array $languages ) | ||
setPathinfo ( string $pathinfo ) | ||
setPort ( string $port ) | ||
setQueryParams ( array $queryParams ) | ||
setScheme ( string $scheme ) |
protected array $languages | ||
Résultat | array |
protected string $pathinfo | ||
Résultat | string |
protected array $queryParams | ||
Résultat | array |
protected string $scheme | ||
Résultat | string |