class User implements ExtenderInterface
Methods
permissionGroups(callable|string $callback)
Dynamically process a user's list of groups when calculating permissions.
registerPreference(string $key, callable $transformer = null, $default = null)
Register a new user preference.
Details
at
line 28
displayNameDriver(string $identifier, string $driver)
Add a display name driver.
at
line 49
permissionGroups(callable|string $callback)
Dynamically process a user's list of groups when calculating permissions.
This can be used to give a user permissions for groups they aren't actually in, based on context. It will not change the group badges displayed for the user.
at
line 63
registerPreference(string $key, callable $transformer = null, $default = null)
Register a new user preference.