Value Object
Class CustomerGender
Represents a customer gender
| category |
System |
|---|---|
| package |
Customer |
| subpackage |
ValueObjects |
| implements |
CustomerGenderInterface |
__construct(string $p_gender)
Validates the data type and the entered values of the customer gender.
| Throws |
|
|---|
stringCustomer's gender.
__toString() : string
stringEquivalent string value.
gender : string
| var |
|---|
string