SwitchUserRole
SwitchUserRole
class SwitchUserRole extends Role
SwitchUserRole is used when the current user temporarily impersonates another one.
Methods
__construct(string $role, TokenInterface $source) Constructor. | ||
string|null | getRole() Returns the role. | from Role |