Cookie::get()
Get a cookie value
Cookie::get(string $key = null, string $default = null): mixed
Parameters
Name | Type | Default | Description |
---|---|---|---|
$key |
string |
null |
The name of the cookie |
$default |
string |
null |
The default value, which should be returned |
Return type
mixed