Department implements Arrayable
Table of Contents
Interfaces
Properties
Methods
- __construct() : mixed
- toArray() : array<string|int, mixed>
Properties
$id
public
int
$id
$name
public
string
$name
Methods
__construct()
public
__construct(int $id, string $name) : mixed
Parameters
- $id : int
- $name : string
toArray()
public
toArray() : array<string|int, mixed>