User implements Arrayable
FinalYes
Table of Contents
Interfaces
Properties
- $id : int
- $name : string
- $pathToProfile : string
- $photo : array<string|int, mixed>
Methods
- __construct() : mixed
- toArray() : array<string|int, mixed>
Properties
$id read-only
public
int
$id
$name read-only
public
string
$name
$pathToProfile read-only
public
string
$pathToProfile
$photo read-only
public
array<string|int, mixed>
$photo
Methods
__construct()
public
__construct(int $id, string $name, array<string|int, mixed> $photo, string $pathToProfile) : mixed
Parameters
- $id : int
- $name : string
- $photo : array<string|int, mixed>
- $pathToProfile : string
toArray()
public
toArray() : array<string|int, mixed>