Value Object
Class CustomerLastname
Represents a customer lastname
| category |
System |
|---|---|
| package |
Customer |
| subpackage |
ValueObjects |
| implements |
CustomerLastnameInterface |
__construct(string $p_lastname)
Validates the length and the data type of the customer last name.
| throws |
If $p_lastname is not a string. If $p_lastname contains more characters than 64. |
|---|---|
stringCustomer's last name.
__toString() : string
stringEquivalent string value.
lastname : string
| var |
|---|
string