We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 014f2e6 commit d57494bCopy full SHA for d57494b
README.md
@@ -122,6 +122,18 @@ fetchPermissions(int $status) // active = 1 or inactive = 0
122
// $status is optional if is empty all permissions will be fetched
123
```
124
125
+Fetch Roles
126
+```php
127
+fetchRoles(int $status) // active = 1 or inactive = 0
128
+// $status is optional if is empty all roles will be fetched
129
+```
130
+
131
+Fetch User Roles
132
133
+fetchUserRoles(int $user_id)
134
+// $user_id is id of the user from App\Models\User
135
136
137
## Changelog
138
139
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
0 commit comments