Methods |
public
static
|
forInvalidExpiresTime(string $type): static
Thrown for invalid type given for the "Expires" attribute.
Thrown for invalid type given for the "Expires" attribute.
|
#
|
public
static
|
forInvalidExpiresValue(): static
Thrown when the value provided for "Expires" is invalid.
Thrown when the value provided for "Expires" is invalid.
|
#
|
public
static
|
forInvalidCookieName(string $name): static
Thrown when the cookie name contains invalid characters per RFC 2616.
Thrown when the cookie name contains invalid characters per RFC 2616.
|
#
|
public
static
|
forEmptyCookieName(): static
Thrown when the cookie name is empty.
Thrown when the cookie name is empty.
|
#
|
public
static
|
forInvalidSecurePrefix(): static
Thrown when using the `__Secure-` prefix but the `Secure` attribute
is not set to true.
Thrown when using the __Secure- prefix but the Secure attribute
is not set to true.
|
#
|
public
static
|
forInvalidHostPrefix(): static
Thrown when using the `__Host-` prefix but the `Secure` flag is not
set, the `Domain` is set, and the `Path` is not `/`.
Thrown when using the __Host- prefix but the Secure flag is not
set, the Domain is set, and the Path is not / .
|
#
|
public
static
|
forInvalidSameSite(string $sameSite): static
Thrown when the `SameSite` attribute given is not of the valid types.
Thrown when the SameSite attribute given is not of the valid types.
|
#
|
public
static
|
forInvalidSameSiteNone(): static
Thrown when the `SameSite` attribute is set to `None` but the `Secure`
attribute is not set.
Thrown when the SameSite attribute is set to None but the Secure
attribute is not set.
|
#
|
public
static
|
forInvalidCookieInstance(array<int|string> $data): static
Thrown when the `CookieStore` class is filled with invalid Cookie objects.
Thrown when the CookieStore class is filled with invalid Cookie objects.
|
#
|
public
static
|
forUnknownCookieInstance(string[] $data): static
Thrown when the queried Cookie object does not exist in the cookie collection.
Thrown when the queried Cookie object does not exist in the cookie collection.
|
#
|