Fr3nch13/CakePHP Utilities

marshal_uri_from_sapi.php

Table of Contents

Functions

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

Functions

marshalUriFromSapi()

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

This function is deprecated as of 2.11.1, and will be removed in 3.0.0. As of 2.11.1, it is no longer used internally.

marshalUriFromSapi(array<string|int, mixed> $server, array<string|int, mixed> $headers) : Uri
Parameters
$server : array<string|int, mixed>

SAPI parameters

$headers : array<string|int, mixed>

HTTP request headers

Return values
Uri

        
On this page

Search results