mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 00:49:01 +02:00
20 lines
No EOL
594 B
JSON
20 lines
No EOL
594 B
JSON
{
|
|
"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"
|
|
}
|
|
} |