Value Object
Class CustomerStreet
Represents a customer street
category |
System |
---|---|
package |
Customer |
subpackage |
ValueObjects |
implements |
CustomerStreetInterface |
__construct(string $p_street)
Validates the length and the data type of the street name.
Throws |
|
---|
string
Customer's street.
__toString() : string
string
Equivalent string value.