Copied!

UpdateUserEvent

UpdateUserEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

UpdateUserEvent.php : 26
public __construct(User $updatedUser, User $user, UserUpdateStruct $userUpdateStruct)

Parameters

Name Type Default value Description
$updatedUser User - -
$user User - -
$userUpdateStruct UserUpdateStruct - -

publicgetUpdatedUser()

UpdateUserEvent.php : 46
public getUpdatedUser() : User

Return values

User

publicgetUser()

UpdateUserEvent.php : 36
public getUser() : User

Return values

User

publicgetUserUpdateStruct()

UpdateUserEvent.php : 41
public getUserUpdateStruct() : UserUpdateStruct

Return values

UserUpdateStruct

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicstopPropagation()

Event.php : 50

Stops the propagation of the event to further event listeners.

public stopPropagation() : void

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