CookieHeader
Table of Contents
Methods
-
__construct()
: mixed
-
getCookie()
: mixed
-
getCookies()
: array<string|int, mixed>
-
hasCookie()
: bool
-
parse()
: CookieHeader
__construct()
public
__construct(array<string|int, mixed> $cookies) : mixed
Parameters
-
$cookies
: array<string|int, mixed>
-
getCookie()
public
getCookie(string $name[, int $filter = FILTER_DEFAULT ][, array<string|int, mixed>|int $options = 0 ]) : mixed
Parameters
-
$name
: string
-
-
$filter
: int
= FILTER_DEFAULT
-
-
$options
: array<string|int, mixed>|int
= 0
-
getCookies()
public
getCookies() : array<string|int, mixed>
Return values
array<string|int, mixed>
hasCookie()
public
hasCookie(string $name) : bool
Parameters
-
$name
: string
-
parse()
public
static parse(HttpHeader $header) : CookieHeader
Parameters
-
$header
: HttpHeader
-