123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- {
- "$schema": "https://laravel-ide.com/schema/laravel-ide-v2.json",
- "blade": {
- "directives": [
- {
- "name": "role",
- "prefix": "<?php if(\\Spatie\\Permission\\PermissionServiceProvider::bladeMethodWrapper('hasRole', {",
- "suffix": "})): ?>"
- },
- {
- "name": "elserole",
- "prefix": "<?php elseif(\\Spatie\\Permission\\PermissionServiceProvider::bladeMethodWrapper('hasRole', {",
- "suffix": "})): ?>"
- },
- {
- "name": "endrole",
- "prefix": "",
- "suffix": ""
- },
- {
- "name": "hasrole",
- "prefix": "<?php if(\\Spatie\\Permission\\PermissionServiceProvider::bladeMethodWrapper('hasRole', {",
- "suffix": "})): ?>"
- },
- {
- "name": "endhasrole",
- "prefix": "",
- "suffix": ""
- },
- {
- "name": "hasanyrole",
- "prefix": "<?php if(\\Spatie\\Permission\\PermissionServiceProvider::bladeMethodWrapper('hasAnyRole', {",
- "suffix": "})): ?>"
- },
- {
- "name": "endhasanyrole",
- "prefix": "",
- "suffix": ""
- },
- {
- "name": "hasallroles",
- "prefix": "<?php if(\\Spatie\\Permission\\PermissionServiceProvider::bladeMethodWrapper('hasAllRoles', {",
- "suffix": "})): ?>"
- },
- {
- "name": "endhasallroles",
- "prefix": "",
- "suffix": ""
- },
- {
- "name": "unlessrole",
- "prefix": "<?php if(! \\Spatie\\Permission\\PermissionServiceProvider::bladeMethodWrapper('hasRole', {",
- "suffix": "})): ?>"
- },
- {
- "name": "endunlessrole",
- "prefix": "",
- "suffix": ""
- },
- {
- "name": "hasexactroles",
- "prefix": "<?php if(\\Spatie\\Permission\\PermissionServiceProvider::bladeMethodWrapper('hasExactRoles', {",
- "suffix": "})): ?>"
- },
- {
- "name": "endhasexactroles",
- "prefix": "",
- "suffix": ""
- }
- ]
- }
- }
|