CustomerGuestPassword

Implements \CustomerPasswordInterface

Class CustomerGuestPassword

Instances of this class represent guests’ pseudo-passwords. The password itself ought to be a high-entropy pseudo-random string.

category

System

package

Customer

subpackage

ValueObjects

implements

CustomerPasswordInterface

Methods

Constructor for the class CustomerPassword.

__construct(string|\StringType $p_password) 
Throws
\InvalidArgumentException

If $p_password is not a string.

Arguments

$p_password

string|\StringType

Customer's password.

Returns the password string value (either hashed or not).

__toString() : string

Response

string

Properties

Customer's password.

password : string
var

Type(s)

string