phpDocumentor

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
category

System

subpackage

ValueObjects

implements

CustomerPasswordInterface

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

Methods

__construct()

Constructor for the class CustomerPassword.

public __construct(string|StringType $p_password) : mixed
Parameters
$p_password : string|StringType

Customer's password.

Tags
throws
InvalidArgumentException

If $p_password is not a string.

Return values
mixed

__toString()

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

public __toString() : string
Return values
string

Search results