WordPress\AiClientDependencies\Psr\Http\Message

ServerRequestInterface::getServerParams │ public │ WP 1.0

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.

Метод класса: ServerRequestInterface{}

Хуков нет.

Возвращает

array.

Использование

$ServerRequestInterface = new ServerRequestInterface();
$ServerRequestInterface->getServerParams(): array;

Код ServerRequestInterface::getServerParams() WP 7.1.4

public function getServerParams(): array;