CustomerGuestPassword
in package
implements
CustomerPasswordInterface
Class CustomerGuestPassword
Instances of this class represent guests’ pseudo-passwords. The password itself ought to be a high-entropy pseudo-random string.
Tags
Interfaces, Classes and Traits
- CustomerPasswordInterface
- Value Object.
Table of Contents
- $password : string
- Customer's password.
- __construct() : mixed
- Constructor for the class CustomerPassword.
- __toString() : string
- Returns the password string value (either hashed or not).
Properties
$password
Customer's password.
protected
string
$password
Methods
__construct()
Constructor for the class CustomerPassword.
public
__construct(string|StringType $p_password) : mixed
Parameters
- $p_password : string|StringType
-
Customer's password.
Tags
Return values
mixed —__toString()
Returns the password string value (either hashed or not).
public
__toString() : string