class SwitchUserEvent extends Event

SwitchUserEvent.

Methods

bool
isPropagationStopped()

Returns whether further event listeners should be triggered.

from Event
stopPropagation()

Stops the propagation of the event to further event listeners.

from Event
__construct(Request $request, UserInterface $targetUser, TokenInterface $token = null)

No description

getRequest()

No description

getTargetUser()

No description

getToken()

No description

setToken(TokenInterface $token)

No description

Details

in Event at line line 42
bool isPropagationStopped()

Returns whether further event listeners should be triggered.

Return Value

bool Whether propagation was already stopped for this event

See also

Event::stopPropagation()

in Event at line line 54
stopPropagation()

Stops the propagation of the event to further event listeners.

If multiple event listeners are connected to the same event, no further event listener will be triggered once any trigger calls stopPropagation().

at line line 30
__construct(Request $request, UserInterface $targetUser, TokenInterface $token = null)

Parameters

Request $request
UserInterface $targetUser
TokenInterface $token

at line line 40
Request getRequest()

Return Value

Request

at line line 48
UserInterface getTargetUser()

Return Value

UserInterface

at line line 56
TokenInterface|null getToken()

Return Value

TokenInterface|null

at line line 61
setToken(TokenInterface $token)

Parameters

TokenInterface $token