From b382bc230a55e6533886372bc5d770e3f6ef3311 Mon Sep 17 00:00:00 2001 From: Swara Date: Fri, 6 Dec 2024 03:38:52 +0100 Subject: [PATCH] fix: Add getAllRoles method to Enforcer facade (#77) --- src/Facades/Enforcer.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Facades/Enforcer.php b/src/Facades/Enforcer.php index 7b2e52c..674c9fd 100644 --- a/src/Facades/Enforcer.php +++ b/src/Facades/Enforcer.php @@ -6,6 +6,7 @@ /** * @see \Casbin\Enforcer + * @method static string[] getAllRoles() * @method static string[] getRolesForUser(string $name, string ...$domain) * @method static string[] getUsersForRole(string $name, string ...$domain) * @method static bool hasRoleForUser(string $name, string $role, string ...$domain)