Value Object
Class CustomerEmail
Represents a customer email
| category |
System |
|---|---|
| package |
Customer |
| subpackage |
ValueObjects |
| implements |
CustomerEmailInterface |
__construct(string $p_email, boolean $encodeSpecialCharacters = true)
Validates the data type and format of the customer email.
| Throws |
|
|---|
stringCustomer's E-Mail address.
booleanOptional (true), whether to encode the special unicode characters to ASCII.
__toString() : string
stringEquivalent string value.
email : string
| var |
|---|
string