PasswordChangeEvent implements StoppableEventInterface
FinalYes
Event that contains information about the password which was set, and is about to be stored in the database.
Additional validation can happen here.
Table of Contents
Interfaces
- StoppableEventInterface
Methods
- __construct() : mixed
- getErrorMessage() : string|null
- getHashedPassword() : string
- getRawPassword() : string
- getUser() : array<string|int, mixed>
- isPropagationStopped() : bool
- setAsInvalid() : void
- setHashedPassword() : void
Methods
__construct()
public
__construct(array<string|int, mixed> $user, string $newPasswordHash, string $rawNewPassword) : mixed
Parameters
- $user : array<string|int, mixed>
- $newPasswordHash : string
- $rawNewPassword : string
getErrorMessage()
public
getErrorMessage() : string|null
Return values
string|nullgetHashedPassword()
public
getHashedPassword() : string
Return values
stringgetRawPassword()
public
getRawPassword() : string
Return values
stringgetUser()
public
getUser() : array<string|int, mixed>
Return values
array<string|int, mixed>isPropagationStopped()
public
isPropagationStopped() : bool
Return values
boolsetAsInvalid()
public
setAsInvalid(string $message) : void
Parameters
- $message : string
setHashedPassword()
public
setHashedPassword(string $passwordHash) : void
Parameters
- $passwordHash : string