extends |
CookieInterface |
---|
Interface for a fresh Cookie instance with selected attribute(s) only changed from the original instance.
Methods | ||
---|---|---|
public
|
withPrefix(string $prefix = ''): static
|
# |
public
|
withName(string $name): static
|
# |
public
|
withValue(string $value): static
|
# |
public
|
withExpires(DateTimeInterface|int|string $expires): static
|
# |
public
|
withExpired(): static
|
# |
public
|
withNeverExpiring(): static
|
# |
public
|
withPath(?string $path): static
|
# |
public
|
withDomain(?string $domain): static
|
# |
public
|
withSecure(bool $secure = true): static
|
# |
public
|
withHTTPOnly(bool $httponly = true): static
|
# |
public
|
withSameSite(string $samesite): static
|
# |
public
|
withRaw(bool $raw = true): static
|
# |
Constants inherited from CodeIgniter\Cookie\CookieInterface |
---|
|