Cookie

Cookie

class Cookie

Represents a cookie.

Methods

__construct(string $name, string $value = null, int|string|DateTime|DateTimeInterface $expire, string $path = '/', string $domain = null, bool $secure = false, bool $httpOnly = true)

Constructor.

string __toString()

Returns the cookie as a string.

string getName<