You are here

public function ServerRequest::getServerParams in Lockr 7.3

Retrieve server parameters.

Retrieves data related to the incoming request environment, typically derived from PHP's $_SERVER superglobal. The data IS NOT REQUIRED to originate from $_SERVER.

Return value

array

Overrides ServerRequestInterface::getServerParams

File

vendor/guzzlehttp/psr7/src/ServerRequest.php, line 250

Class

ServerRequest
Server-side HTTP request

Namespace

GuzzleHttp\Psr7

Code

public function getServerParams() {
  return $this->serverParams;
}