Fr3nch13/CakePHP Utilities

Diactoros

Table of Contents

Functions

createUploadedFile()  : UploadedFile
marshalHeadersFromSapi()  : array<string|int, mixed>
marshalMethodFromSapi()  : string
marshalProtocolVersionFromSapi()  : string
marshalUriFromSapi()  : Uri
normalizeServer()  : array<string|int, mixed>
normalizeUploadedFiles()  : array<string|int, mixed>
parseCookieHeader()  : array<non-empty-string, string>

Functions

marshalHeadersFromSapi()

Use Laminas\Diactoros\marshalHeadersFromSapi instead

marshalHeadersFromSapi(array<string|int, mixed> $server) : array<string|int, mixed>
Parameters
$server : array<string|int, mixed>
Return values
array<string|int, mixed>

marshalMethodFromSapi()

Use Laminas\Diactoros\marshalMethodFromSapi instead

marshalMethodFromSapi(array<string|int, mixed> $server) : string
Parameters
$server : array<string|int, mixed>
Return values
string

marshalProtocolVersionFromSapi()

Use Laminas\Diactoros\marshalProtocolVersionFromSapi instead

marshalProtocolVersionFromSapi(array<string|int, mixed> $server) : string
Parameters
$server : array<string|int, mixed>
Return values
string

marshalUriFromSapi()

Use Laminas\Diactoros\marshalUriFromSapi instead

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

normalizeServer()

Use Laminas\Diactoros\normalizeServer instead

normalizeServer(array<string|int, mixed> $server[, callable|null $apacheRequestHeaderCallback = null ]) : array<string|int, mixed>
Parameters
$server : array<string|int, mixed>
$apacheRequestHeaderCallback : callable|null = null
Return values
array<string|int, mixed>

normalizeUploadedFiles()

Use Laminas\Diactoros\normalizeUploadedFiles instead

normalizeUploadedFiles(array<string|int, mixed> $files) : array<string|int, mixed>
Parameters
$files : array<string|int, mixed>
Return values
array<string|int, mixed>

parseCookieHeader()

Use parseCookieHeader instead

parseCookieHeader(string $cookieHeader) : array<non-empty-string, string>
Parameters
$cookieHeader : string

A string cookie header value.

Return values
array<non-empty-string, string>

key/value cookie pairs.


        
On this page

Search results