Value Object
Class CustomerPassword
Represents a customer password
| category |
System |
|---|---|
| package |
Customer |
| subpackage |
ValueObjects |
| implements |
CustomerPasswordInterface |
__construct(string $p_password, boolean $p_disableHash = false)
Validates password and build md5-hash.
| throws |
If $p_password is not a string. |
|---|---|
stringCustomer's password.
boolean(optional) Will not hash the provided password string.
__toString() : string
stringEquivalent string value (MD5-hash).
md5password : string
| var |
|---|
string