phpDocumentor

PersonalInformation

Class PersonalInformation

Table of Contents

$customerNumber  : string
$dateOfBirth  : DateTimeImmutable|null
$firstName  : string
$gender  : CustomerGender
$lastName  : string
create()  : PersonalInformation
customerNumber()  : string
dateOfBirth()  : string|null
firstName()  : string
gender()  : string
lastName()  : string
toArray()  : array<string|int, string>
__construct()  : mixed

Properties

Methods

dateOfBirth()

public dateOfBirth([string $datetimeFormat = 'Y-m-d H:i:s' ]) : string|null
Parameters
$datetimeFormat : string = 'Y-m-d H:i:s'
Return values
string|null

toArray()

public toArray([string $datetimeFormat = 'Y-m-d H:i:s' ]) : array<string|int, string>
Parameters
$datetimeFormat : string = 'Y-m-d H:i:s'
Return values
array<string|int, string>

__construct()

private __construct(CustomerGender $gender, string $firstName, string $lastName, string $customerNumber, DateTimeImmutable|null $dateOfBirth) : mixed
Parameters
$gender : CustomerGender
$firstName : string
$lastName : string
$customerNumber : string
$dateOfBirth : DateTimeImmutable|null
Return values
mixed

Search results