Value Object
Class CustomerHouseNumber
Represents a house number
| category |
System |
|---|---|
| package |
Customer |
| subpackage |
ValueObjects |
| implements |
CustomerHouseNumberInterface |
__construct(string $houseNumber)
Validates the length and the data type of a house number.
| throws |
If $houseNumber is not a string. If $houseNumber contains more than 64 characters. |
|---|---|
stringHouse number.
__toString() : string
stringEquivalent string value.
houseNumber : string
| var |
|---|
string