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 |
|
---|
string
Customer's E-Mail address.
boolean
Optional (true), whether to encode the special unicode characters to ASCII.
__toString() : string
string
Equivalent string value.
email : string
var |
---|
string