Replies: 1 comment
-
laravel-permission/tests/PermissionTest.php Lines 12 to 23 in bc9fff8 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
user relationship queries are not available in the code below.
the problem is config/auth.php in A config function that calls the class as a string.
the model of the guard defined in php is called a string rather than a class.
Permission::with(['roles', 'users'])->get();
error:: Class name must be a valid object or a string
how can i this? help!
use package version
"php": "^8.0.2"
"laravel/framework": "^9.19"
Beta Was this translation helpful? Give feedback.
All reactions