#### Cookie
~~~
// Cookie初始化
Cookie::init();
// 设置或者获取cookie作用域(前缀)
Cookie::prefix($prefix = '');
// Cookie 设置、获取、删除
Cookie::set($name, $value = '', $option = null);
// 永久保存Cookie数据
Cookie::forever($name, $value = '', $option = null);
// 判断Cookie数据
Cookie::has($name, $prefix = null);
// Cookie获取
Cookie::get($name, $prefix = null);
// Cookie删除
Cookie::delete($name, $prefix = null);
// Cookie清空
Cookie::clear($prefix = null);
Cookie::jsonFormatProtect(&$val, $key, $type = 'encode');复制代码
~~~