mini\Http\Message\ServerRequest::getServerParams() Method

public

Signature

public function getServerParams(): array

Returns

array

Documentation

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.

Source

src/Http/Message/ServerRequestTrait.php:147-149