| 
6 | 6 | 
 
  | 
7 | 7 | /**  | 
8 | 8 |  * @see \Casbin\Enforcer  | 
 | 9 | + * @method static string[] getRolesForUser(string $name, string ...$domain)  | 
 | 10 | + * @method static string[] getUsersForRole(string $name, string ...$domain)  | 
 | 11 | + * @method static bool hasRoleForUser(string $name, string $role, string ...$domain)  | 
 | 12 | + * @method static bool addRoleForUser(string $user, string $role, string ...$domain)  | 
 | 13 | + * @method static bool addRolesForUser(string $user, array $roles, string ...$domain)  | 
 | 14 | + * @method static bool deleteRoleForUser(string $user, string $role, string ...$domain)  | 
 | 15 | + * @method static bool deleteRolesForUser(string $user, string ...$domain)  | 
 | 16 | + * @method static bool deleteUser(string $user)  | 
 | 17 | + * @method static bool deleteRole(string $role)  | 
 | 18 | + * @method static bool deletePermission(string ...$permission)  | 
 | 19 | + * @method static bool addPermissionForUser(string $user, string ...$permission)  | 
 | 20 | + * @method static bool addPermissionsForUser(string $user, array ...$permissions)  | 
 | 21 | + * @method static bool deletePermissionForUser(string $user, string ...$permission)  | 
 | 22 | + * @method static bool deletePermissionsForUser(string $user)  | 
 | 23 | + * @method static array getPermissionsForUser(string $user, string ...$domain)  | 
 | 24 | + * @method static bool hasPermissionForUser(string $user, string ...$permission)  | 
 | 25 | + * @method static array getImplicitRolesForUser(string $name, string ...$domain)  | 
 | 26 | + * @method static array getImplicitUsersForRole(string $name, string ...$domain)  | 
 | 27 | + * @method static array getImplicitResourcesForUser(string $user, string ...$domain)  | 
 | 28 | + * @method static array getImplicitPermissionsForUser(string $user, string ...$domain)  | 
 | 29 | + * @method static array getImplicitUsersForPermission(string ...$permission)  | 
 | 30 | + * @method static string[] getAllUsersByDomain(string $domain)  | 
 | 31 | + * @method static array getUsersForRoleInDomain(string $name, string $domain)  | 
 | 32 | + * @method static array getRolesForUserInDomain(string $name, string $domain)  | 
 | 33 | + * @method static array getPermissionsForUserInDomain(string $name, string $domain)  | 
 | 34 | + * @method static bool addRoleForUserInDomain(string $user, string $role, string $domain)  | 
 | 35 | + * @method static bool deleteRoleForUserInDomain(string $user, string $role, string $domain)  | 
 | 36 | + * @method static bool deleteRolesForUserInDomain(string $user, string $domain)  | 
 | 37 | + * @method static bool deleteAllUsersByDomain(string $domain)  | 
 | 38 | + * @method static bool deleteDomains(string ...$domains)  | 
9 | 39 |  */  | 
10 | 40 | class Enforcer extends Facade  | 
11 | 41 | {  | 
 | 
0 commit comments