Permission handling for Laravel 6.0 and up. ... get the names of the user's roles $roles = $user->getRoleNames(); // Returns a collection.
確定! 回上一頁