Documentation

Cookie


The cookie helper provides a cookie:


Methods


set(string $key, mixed $value, [integer $expire = 86400, [string $domain = '', [string $path = '/',
[boolean $secure = false, [boolean $httpOnly = false]]]]])


Send a cookie


Cookie::set('limit', 10);

get(string $key)


Get a cookie


$limit = Cookie::get('limit');