We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 935c74b commit 8987da4Copy full SHA for 8987da4
src/facade/Enforcer.php
@@ -28,6 +28,7 @@
28
* @method static bool hasPermissionForUser(string $username, string ...$permission) 确定用户是否具有权限
29
* @method static array getImplicitRolesForUser(string $username, string ...$domain) 获取用户具有的隐式角色
30
* @method static array getImplicitPermissionsForUser(string $username, string ...$domain) 获取用户具有的隐式权限
31
+ * @method static addFunction(string $name, \Closure $func) 添加一个自定义函数
32
*/
33
class Enforcer extends Facade
34
{
0 commit comments