mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-07-09 08:54:29 +02:00
update
This commit is contained in:
parent
e53a643e3d
commit
1ab37bd478
209 changed files with 79957 additions and 0 deletions
20
my-snippets/laravel5/snippets/crypt.json
Normal file
20
my-snippets/laravel5/snippets/crypt.json
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"Crypt-decrypt.sublime-snippet": {
|
||||
"prefix": "Crypt::decrypt",
|
||||
"body": [
|
||||
"try {",
|
||||
" ${1:\\$decrypted} = Crypt::decrypt(${2:\\$encryptedValue});",
|
||||
"} catch (Illuminate\\Contracts\\Encryption\\DecryptException $e) {",
|
||||
" $3",
|
||||
"}$4"
|
||||
],
|
||||
"description": "Decrypt a value"
|
||||
},
|
||||
"Crypt-encrypt.sublime-snippet": {
|
||||
"prefix": "Crypt::encrypt",
|
||||
"body": [
|
||||
"Crypt::encrypt(${1:\\$value});$2"
|
||||
],
|
||||
"description": "Encrypt a value"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue