Table of Contents
Interfaces
- Arrayable
Properties
-
$firstName
: string
-
$fullName
: string
-
$id
: int
-
$lastName
: string
Methods
-
__construct()
: mixed
-
toArray()
: array<string|int, mixed>
$firstName
read-only
public
string
$firstName
$fullName
read-only
public
string
$fullName
$id
read-only
public
int
$id
$lastName
read-only
public
string
$lastName
__construct()
public
__construct(int $id, string $firstName, string $lastName, string $fullName) : mixed
Parameters
-
$id
: int
-
-
$firstName
: string
-
-
$lastName
: string
-
-
$fullName
: string
-
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>