Company
implements
Item, Arrayable, JsonSerializable
Table of Contents
Interfaces
- Item
- Arrayable
- JsonSerializable
Properties
-
$code
: string
-
$createdAt
: DateTime|null
-
$data
: array<string|int, mixed>
-
$id
: int|null
-
$myCompanyId
: int
-
$title
: string
Methods
-
__construct()
: mixed
-
jsonSerialize()
: array<string|int, mixed>
-
toArray()
: array<string|int, mixed>
$code
public
string
$code
$createdAt
public
DateTime|null
$createdAt
= null
$data
public
array<string|int, mixed>
$data
= []
$id
public
int|null
$id
= null
$myCompanyId
public
int
$myCompanyId
$title
public
string
$title
__construct()
public
__construct(string $code, int $myCompanyId, string $title[, array<string|int, mixed> $data = [] ][, DateTime|null $createdAt = null ][, int|null $id = null ]) : mixed
Parameters
-
$code
: string
-
-
$myCompanyId
: int
-
-
$title
: string
-
-
$data
: array<string|int, mixed>
= []
-
-
$createdAt
: DateTime|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>