vendor/zendframework/zend-diactoros/src/functionsmarshal_uri_from_sapi.php

Functions

marshalUriFromSapi()

marshalUriFromSapi(array  $server, array  $headers) : \Zend\Diactoros\Uri

Marshal a Uri instance based on the values presnt in the $_SERVER array and headers.

Parameters

array $server

SAPI parameters

array $headers

HTTP request headers

Returns

\Zend\Diactoros\Uri