ide.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "$schema": "https://laravel-ide.com/schema/laravel-ide-v2.json",
  3. "blade": {
  4. "directives": [
  5. {
  6. "name": "role",
  7. "prefix": "<?php if(\\Spatie\\Permission\\PermissionServiceProvider::bladeMethodWrapper('hasRole', {",
  8. "suffix": "})): ?>"
  9. },
  10. {
  11. "name": "elserole",
  12. "prefix": "<?php elseif(\\Spatie\\Permission\\PermissionServiceProvider::bladeMethodWrapper('hasRole', {",
  13. "suffix": "})): ?>"
  14. },
  15. {
  16. "name": "endrole",
  17. "prefix": "",
  18. "suffix": ""
  19. },
  20. {
  21. "name": "hasrole",
  22. "prefix": "<?php if(\\Spatie\\Permission\\PermissionServiceProvider::bladeMethodWrapper('hasRole', {",
  23. "suffix": "})): ?>"
  24. },
  25. {
  26. "name": "endhasrole",
  27. "prefix": "",
  28. "suffix": ""
  29. },
  30. {
  31. "name": "hasanyrole",
  32. "prefix": "<?php if(\\Spatie\\Permission\\PermissionServiceProvider::bladeMethodWrapper('hasAnyRole', {",
  33. "suffix": "})): ?>"
  34. },
  35. {
  36. "name": "endhasanyrole",
  37. "prefix": "",
  38. "suffix": ""
  39. },
  40. {
  41. "name": "hasallroles",
  42. "prefix": "<?php if(\\Spatie\\Permission\\PermissionServiceProvider::bladeMethodWrapper('hasAllRoles', {",
  43. "suffix": "})): ?>"
  44. },
  45. {
  46. "name": "endhasallroles",
  47. "prefix": "",
  48. "suffix": ""
  49. },
  50. {
  51. "name": "unlessrole",
  52. "prefix": "<?php if(! \\Spatie\\Permission\\PermissionServiceProvider::bladeMethodWrapper('hasRole', {",
  53. "suffix": "})): ?>"
  54. },
  55. {
  56. "name": "endunlessrole",
  57. "prefix": "",
  58. "suffix": ""
  59. },
  60. {
  61. "name": "hasexactroles",
  62. "prefix": "<?php if(\\Spatie\\Permission\\PermissionServiceProvider::bladeMethodWrapper('hasExactRoles', {",
  63. "suffix": "})): ?>"
  64. },
  65. {
  66. "name": "endhasexactroles",
  67. "prefix": "",
  68. "suffix": ""
  69. }
  70. ]
  71. }
  72. }