$name
$name :
Represents a cookie.
__construct(string $name, string $value = null, integer|string|\DateTime $expire, string $path = '/', string $domain = null, boolean $secure = false, boolean $httpOnly = true)
Constructor.
| string | $name | The name of the cookie |
| string | $value | The value of the cookie |
| integer|string|\DateTime | $expire | The time the cookie expires |
| string | $path | The path on the server in which the cookie will be available on |
| string | $domain | The domain that the cookie is available to |
| boolean | $secure | Whether the cookie should only be transmitted over a secure HTTPS connection from the client |
| boolean | $httpOnly | Whether the cookie will be made accessible only through the HTTP protocol |