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

Breadcrumb

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

function ServerRequestCreatorInterface::getHeadersFromServer

Get parsed headers from ($_SERVER) array.

Parameters

array $server typically $_SERVER or similar structure:

1 method overrides ServerRequestCreatorInterface::getHeadersFromServer()
ServerRequestCreator::getHeadersFromServer in vendor/nyholm/psr7-server/src/ServerRequestCreator.php
Implementation from Laminas\Diactoros\marshalHeadersFromSapi().

File

vendor/nyholm/psr7-server/src/ServerRequestCreatorInterface.php, line 55

Class

ServerRequestCreatorInterface
@author Tobias Nyholm <tobias.nyholm@gmail.com> @author Martijn van der Ven <martijn@vanderven.se>

Namespace

Nyholm\Psr7Server

Code

public static function getHeadersFromServer(array $server) : array;

API Navigation

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