Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ServerRequestInterface.php

function ServerRequestInterface::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

1 method overrides ServerRequestInterface::getServerParams()
ServerRequest::getServerParams in vendor/guzzlehttp/psr7/src/ServerRequest.php
Retrieve server parameters.

File

vendor/psr/http-message/src/ServerRequestInterface.php, line 54

Class

ServerRequestInterface
Representation of an incoming, server-side HTTP request.

Namespace

Psr\Http\Message

Code

public function getServerParams() : array;

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal