Метод | Описание | |
---|---|---|
__construct ( array $server ) | Create a new adapter for a superglobal $_SERVER-style array. | |
getHeaders ( ) | ||
getRemoteAddr ( ) |
Метод | Описание | |
---|---|---|
serverToHeaders ( array $server ) : string[] | Convert from $_SERVER-style format to normal header names. |
public __construct ( array $server ) | ||
$server | array | An array in a format like PHP's $_SERVER var. |