HttpHeaders
Table of Contents
Methods
-
__construct()
: mixed
-
getHeader()
: HttpHeader
-
getHeaderFirstLine()
: string
-
getHeaderLine()
: string
-
getHeaderLines()
: array<string|int, mixed>
-
getHeaders()
: array<string|int, mixed>
-
hasHeader()
: bool
__construct()
public
__construct(array<string|int, mixed> $headers) : mixed
Parameters
-
$headers
: array<string|int, mixed>
-
public
getHeader(string $name) : HttpHeader
Parameters
-
$name
: string
-
public
getHeaderFirstLine(string $name) : string
Parameters
-
$name
: string
-
public
getHeaderLine(string $name) : string
Parameters
-
$name
: string
-
public
getHeaderLines(string $name) : array<string|int, mixed>
Parameters
-
$name
: string
-
Return values
array<string|int, mixed>
public
getHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed>
public
hasHeader(string $name) : bool
Parameters
-
$name
: string
-