Skip to content

Commit b382bc2

Browse files
authored
fix: Add getAllRoles method to Enforcer facade (#77)
1 parent d9906f8 commit b382bc2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: src/Facades/Enforcer.php

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
/**
88
* @see \Casbin\Enforcer
9+
* @method static string[] getAllRoles()
910
* @method static string[] getRolesForUser(string $name, string ...$domain)
1011
* @method static string[] getUsersForRole(string $name, string ...$domain)
1112
* @method static bool hasRoleForUser(string $name, string $role, string ...$domain)

0 commit comments

Comments
 (0)