Skip to content

Commit

Permalink
fix: Add getAllRoles method to Enforcer facade (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
swarakaka authored Dec 6, 2024
1 parent d9906f8 commit b382bc2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Facades/Enforcer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b382bc2

Please sign in to comment.