You are here

public function ServerRequest::getServerParams in Zircon Profile 8

Same name in this branch
  1. 8 vendor/zendframework/zend-diactoros/src/ServerRequest.php \Zend\Diactoros\ServerRequest::getServerParams()
  2. 8 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/ServerRequest.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\ServerRequest::getServerParams()
Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-diactoros/src/ServerRequest.php \Zend\Diactoros\ServerRequest::getServerParams()

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/zendframework/zend-diactoros/src/ServerRequest.php, line 93

Class

ServerRequest
Server-side HTTP request

Namespace

Zend\Diactoros

Code

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