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

bool isPropagationStopped()

Returns whether further event listeners should be triggered.

Return Value

bool Whether propagation was already stopped for this event

See also

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().

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

Parameters

Request $request
UserInterface $targetUser
TokenInterface $token

Request getRequest()

Return Value

Request

UserInterface getTargetUser()

Return Value

UserInterface

TokenInterface|null getToken()

Return Value

TokenInterface|null

setToken(TokenInterface $token)

Parameters

TokenInterface $token