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 3333 * @method static bool addRoleForUser(string $user, string $role, string ...$domain) 给用户添加角色
3434 * @method static bool addRolesForUser(string $user, array $roles, string ...$domain)
3535 * @method static bool addPermissionForUser(string $user, string ...$permission) 赋予权限给某个用户或角色
36- * @method static bool addPermissionsForUser() 赋予用户或角色多个权限。 如果用户或角色已经有一个权限,则返回 false (不会受影响)
36+ * @method static bool addPermissionsForUser(string $user, array ...$permissions ) 赋予用户或角色多个权限。 如果用户或角色已经有一个权限,则返回 false (不会受影响)
3737 * @method static bool deleteRoleForUser(string $user, string $role, string $domain) 删除用户的角色
3838 * @method static bool deleteUser(string $user) 删除用户
3939 * @method static bool deleteRolesForUser(string $user, string ...$domain) 删除某个用户的所有角色
You can’t perform that action at this time.
0 commit comments