mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-26 10:48:40 +02:00
update
This commit is contained in:
parent
e53a643e3d
commit
1ab37bd478
209 changed files with 79957 additions and 0 deletions
72
my-snippets/laravel5/snippets/auth.json
Normal file
72
my-snippets/laravel5/snippets/auth.json
Normal file
|
@ -0,0 +1,72 @@
|
|||
{
|
||||
"Auth-check.sublime-snippet": {
|
||||
"prefix": "Auth::check",
|
||||
"body": [
|
||||
"Auth::check()"
|
||||
],
|
||||
"description": "Determine if the current user is authenticated."
|
||||
},
|
||||
"Auth-guest.sublime-snippet": {
|
||||
"prefix": "Auth::guest",
|
||||
"body": [
|
||||
"Auth::guest()"
|
||||
],
|
||||
"description": "Determine if the current user is a guest."
|
||||
},
|
||||
"Auth-logout.sublime-snippet": {
|
||||
"prefix": "Auth::logout",
|
||||
"body": [
|
||||
"Auth::logout();"
|
||||
],
|
||||
"description": "Log the user out of the application."
|
||||
},
|
||||
"Auth-user.sublime-snippet": {
|
||||
"prefix": "Auth::user",
|
||||
"body": [
|
||||
"Auth::user()"
|
||||
],
|
||||
"description": "Get the currently authenticated user."
|
||||
},
|
||||
"Auth-guard": {
|
||||
"prefix": "Auth::guard",
|
||||
"body": [
|
||||
"Auth::guard('${1:guardName}')$2"
|
||||
],
|
||||
"description": "customize the \"guard\" that is used to authenticate and register users"
|
||||
},
|
||||
"Auth-attempt": {
|
||||
"prefix": "Auth::attempt",
|
||||
"body": [
|
||||
"Auth::attempt([${1:'email' => \\$email, 'password' => \\$password}])$2"
|
||||
],
|
||||
"description": "Log by passing an array with key-value"
|
||||
},
|
||||
"Auth-login": {
|
||||
"prefix": "Auth::login",
|
||||
"body": [
|
||||
"Auth::login(${1:\\$user});$2"
|
||||
],
|
||||
"description": "Log an existing user instance into your application"
|
||||
},
|
||||
"Auth-loginUsingId": {
|
||||
"prefix": "Auth::loginUsingId",
|
||||
"body": [
|
||||
"Auth::loginUsingId($1);$2"
|
||||
],
|
||||
"description": "To log a user into the application by their ID"
|
||||
},
|
||||
"Auth-viaRemember": {
|
||||
"prefix": "Auth::viaRemember",
|
||||
"body": [
|
||||
"Auth::viaRemember()"
|
||||
],
|
||||
"description": "Determine if the user was authenticated using the \"remember me\" cookie."
|
||||
},
|
||||
"Auth-routes": {
|
||||
"prefix": "Auth::routes",
|
||||
"body": [
|
||||
"Auth::routes();"
|
||||
],
|
||||
"description": "Set authentication routes (v5.3)"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue