mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-10 01:14:30 +02:00
update
This commit is contained in:
parent
e53a643e3d
commit
1ab37bd478
209 changed files with 79957 additions and 0 deletions
23
my-snippets/laravel5/snippets/cookie.json
Normal file
23
my-snippets/laravel5/snippets/cookie.json
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"Cookie-forever.sublime-snippet": {
|
||||
"prefix": "Cookie::forever",
|
||||
"body": [
|
||||
"\\$response->withCookie(cookie()->forever('${1:key}', ${2:\\$value}));$3"
|
||||
],
|
||||
"description": "Make a Permanent Cookie"
|
||||
},
|
||||
"Cookie-get.sublime-snippet": {
|
||||
"prefix": "Cookie::get",
|
||||
"body": [
|
||||
"\\$request->cookie('${1:key}');$2"
|
||||
],
|
||||
"description": "Retrieve a Cookie value"
|
||||
},
|
||||
"Cookie-set.sublime-snippet": {
|
||||
"prefix": "Cookie::set",
|
||||
"body": [
|
||||
"\\$response->withCookie(cookie('${1:key}', ${2:\\$value}));$3"
|
||||
],
|
||||
"description": "Attach a Cookie to a Response."
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue