Свойство | Тип | Описание | |
---|---|---|---|
$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). |
Метод | Описание | |
---|---|---|
__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 | ||
Результат | array |
protected string $pathinfo | ||
Результат | string |
protected array $queryParams | ||
Результат | array |
protected string $scheme | ||
Результат | string |