class SimplePassword extends BaseScalar implements Password

Class SimplePassword

Constants

MIN_LENGTH

Methods

bool
equals(ValueObject $valueObject)

This method is not supported

static Password
byCleanPassword(string $cleanPassword)

No description

__construct(string $hashedPassword)

SimplePassword constructor.

changePassword(string $cleanPassword)

Change the actual Password based on clean password.

bool
verify(string $cleanPassword)

No description

value()

Return the scalar value.

string
__toString()

No description

Details

at line 95
bool equals(ValueObject $valueObject)

This method is not supported

Parameters

ValueObject $valueObject

Return Value

bool

Exceptions

BadMethodCallException

at line 22
static Password byCleanPassword(string $cleanPassword)

Parameters

string $cleanPassword

Return Value

Password

at line 33
__construct(string $hashedPassword)

SimplePassword constructor.

Parameters

string $hashedPassword

at line 59
Password changePassword(string $cleanPassword)

Change the actual Password based on clean password.

Parameters

string $cleanPassword

Return Value

Password

at line 73
bool verify(string $cleanPassword)

Parameters

string $cleanPassword

Return Value

bool

at line 83
value()

Return the scalar value.

at line 103
string __toString()

Return Value

string