File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 40
40
* @method static bool addRolesForUser(string $user, array $roles, string ...$domain)
41
41
* @method static bool addPermissionForUser(string $user, string ...$permission) 赋予权限给某个用户或角色
42
42
* @method static bool addPermissionsForUser(string $user, array ...$permissions) 赋予用户或角色多个权限。 如果用户或角色已经有一个权限,则返回 false (不会受影响)
43
- * @method static bool deleteRoleForUser(string $user, string $role, string $domain) 删除用户的角色
43
+ * @method static bool deleteRoleForUser(string $user, string $role, string ... $domain) 删除用户的角色
44
44
* @method static bool deleteUser(string $user) 删除用户
45
45
* @method static bool deleteRolesForUser(string $user, string ...$domain) 删除某个用户的所有角色
46
46
* @method static bool deleteRole(string $role) 删除单个角色
You can’t perform that action at this time.
0 commit comments