cookie::remove

Remove a cookie

cookie::remove($key, $path = '/', $domain = null, $secure = false)

Parameters

$key (string)
The name of the cookie
$domain (string)
The domain of the cookie

Return values

mixed
true: the cookie has been removed, false: the cookie could not be removed