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