$Cookie = Cookie::instance();
// 存储
$Cookie->set('key', 'test', [
'expire' => 60 * 10
]);
// 修改
$Cookie->update('key', '李四', [
'expire' => 60 * 10
]);
// 删除
$Cookie->del('key');
// 删除全部
$Cookie->delAll();
// 读取
$Cookie->get('key');
-
Notifications
You must be signed in to change notification settings - Fork 0
homevip/cookie
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.