Copied!

BeforeUpdateUserPasswordEvent

BeforeUpdateUserPasswordEvent.php : 15
Extends BeforeEvent

Event emitted before action execution.

Methods

public__construct()

BeforeUpdateUserPasswordEvent.php : 26
public __construct(User $user, string $newPassword)

Parameters

Name Type Default value Description
$user User - -
$newPassword string - -

publicgetNewPassword()

BeforeUpdateUserPasswordEvent.php : 37
public getNewPassword() : string

Return values

string

publicgetUpdatedUser()

BeforeUpdateUserPasswordEvent.php : 42
public getUpdatedUser() : User

Return values

User

publicgetUser()

BeforeUpdateUserPasswordEvent.php : 32
public getUser() : User

Return values

User

publichasUpdatedUser()

BeforeUpdateUserPasswordEvent.php : 56
public hasUpdatedUser() : bool

Return values

bool

publicisPropagationStopped()

Event.php : 38
public isPropagationStopped() : bool

Return values

bool

publicsetUpdatedUser()

BeforeUpdateUserPasswordEvent.php : 51
public setUpdatedUser(User|null $updatedUser) : void

Parameters

Name Type Default value Description
$updatedUser User|null - -

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