UpdatePasswordParametersGroup
extends ParametersGroup
in package
This is the user model (update password resource) parameters group class.
Table of Contents
$newPassword | : string | |
---|---|---|
$password | : string | |
$validator | : ParametersValidator | |
setNewPassword() | Sets the new password parameter for this parameters group. | : void |
setPassword() | Sets the password parameter for this parameters group. | : void |
toArray() | Returns the object data on array format. | : array<string|int, mixed> |
filter() | : array<string|int, mixed> | |
getInstantiatedValidator() | : ParametersValidator | |
getValidator() | : UpdatePasswordParametersValidator |
Properties
$newPassword
protected
string
$newPassword
$password
protected
string
$password
$validator
protected
ParametersValidator
$validator
Methods
setNewPassword()
Sets the new password parameter for this parameters group.
public
setNewPassword(string $newPassword) : void
Parameters
- $newPassword : string
Return values
void —setPassword()
Sets the password parameter for this parameters group.
public
setPassword(string $password) : void
Parameters
- $password : string
Return values
void —toArray()
Returns the object data on array format.
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —filter()
protected
filter(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
Return values
array<string|int, mixed> —getInstantiatedValidator()
protected
getInstantiatedValidator() : ParametersValidator
Return values
ParametersValidator —getValidator()
protected
getValidator() : UpdatePasswordParametersValidator