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|null

getHashedPassword()

public getHashedPassword() : string
Return values
string

getRawPassword()

public getRawPassword() : string
Return values
string

getUser()

public getUser() : array<string|int, mixed>
Return values
array<string|int, mixed>

isPropagationStopped()

public isPropagationStopped() : bool
Return values
bool

setAsInvalid()

public setAsInvalid(string $message) : void
Parameters
$message : string

setHashedPassword()

public setHashedPassword(string $passwordHash) : void
Parameters
$passwordHash : string

        
On this page

Search results