SwitchUserEvent
final readonly class \
This event is triggered when a "SU" (switch user) action has been triggered
Table of Contents
Methods
- __construct() : mixed
- getCurrentUser() : array
- getSessionId() : string
- getTargetUser() : array
Methods
__construct()
public
__construct(string $sessionId, array $targetUser, array $currentUser) : mixed
Parameters
- $sessionId : string
- $targetUser : array
- $currentUser : array
getCurrentUser()
public
getCurrentUser() : array
Return values
arraygetSessionId()
public
getSessionId() : string
Return values
stringgetTargetUser()
public
getTargetUser() : array