CustomerGender
in package
Class CustomerGender
Table of Contents
- GENDER_ALLOWED_VALUES = [self::GENDER_MALE, self::GENDER_FEMALE, self::GENDER_OTHER, '']
- GENDER_FEMALE = 'f'
- GENDER_MALE = 'm'
- GENDER_OTHER = 'o'
- $value : string
- create() : CustomerGender
- value() : string
- __construct() : mixed
Constants
GENDER_ALLOWED_VALUES
public
mixed
GENDER_ALLOWED_VALUES
= [self::GENDER_MALE, self::GENDER_FEMALE, self::GENDER_OTHER, '']
GENDER_FEMALE
public
mixed
GENDER_FEMALE
= 'f'
GENDER_MALE
public
mixed
GENDER_MALE
= 'm'
GENDER_OTHER
public
mixed
GENDER_OTHER
= 'o'
Properties
$value
private
string
$value
Methods
create()
public
static create(string $value) : CustomerGender
Parameters
- $value : string
Return values
CustomerGender —value()
public
value() : string
Return values
string —__construct()
private
__construct(string|null $value) : mixed
Parameters
- $value : string|null