Person
implements
Item, Arrayable, JsonSerializable
Table of Contents
Interfaces
- Item
- Arrayable
- JsonSerializable
Properties
-
$code
: string
-
$companyId
: int
-
$createdAt
: DateTime|null
-
$id
: int|null
-
$title
: string
-
$updatedAt
: DateTime|null
-
$userId
: int|null
Methods
-
__construct()
: mixed
-
jsonSerialize()
: array<string|int, mixed>
-
toArray()
: array<string|int, mixed>
$code
public
string
$code
$companyId
public
int
$companyId
$createdAt
public
DateTime|null
$createdAt
= null
$id
public
int|null
$id
= null
$title
public
string
$title
$updatedAt
public
DateTime|null
$updatedAt
= null
$userId
public
int|null
$userId
= null
__construct()
public
__construct(int $companyId, string $code, string $title[, DateTime|null $createdAt = null ][, DateTime|null $updatedAt = null ][, int|null $userId = null ][, int|null $id = null ]) : mixed
Parameters
-
$companyId
: int
-
-
$code
: string
-
-
$title
: string
-
-
$createdAt
: DateTime|null
= null
-
-
$updatedAt
: DateTime|null
= null
-
-
$userId
: int|null
= null
-
-
$id
: int|null
= null
-
jsonSerialize()
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>
toArray()
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>