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
createUploadedFile()
Use Laminas\Diactoros\createUploadedFile instead
createUploadedFile(array<string|int, mixed> $spec) : UploadedFile
Parameters
- $spec : array<string|int, mixed>
Return values
UploadedFilemarshalHeadersFromSapi()
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
stringmarshalProtocolVersionFromSapi()
Use Laminas\Diactoros\marshalProtocolVersionFromSapi instead
marshalProtocolVersionFromSapi(array<string|int, mixed> $server) : string
Parameters
- $server : array<string|int, mixed>
Return values
stringmarshalUriFromSapi()
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
UrinormalizeServer()
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.