Value Object
Class CustomerCity
Represents a customer city
| category |
System |
|---|---|
| package |
Customer |
| subpackage |
ValueObjects |
| implements |
CustomerCityInterface |
__construct(string $p_city)
Validates the length and the data type of the customer city.
| throws |
If $p_city is not a string. If $p_city contains more characters than 32. |
|---|---|
stringCustomer's city.
__toString() : string
stringEquivalent string value.
city : string
| var |
|---|
string