PatientsAdd
in package
FinalYes
Table of Contents
Properties
Methods
- __construct() : mixed
- addPatient() : array<string|int, mixed>
- addPill() : mixed
- delPatient() : mixed
- delPill() : mixed
Properties
$repository
private
PatientsRepository
$repository
Methods
__construct()
public
__construct(PatientsRepository $repository) : mixed
Parameters
- $repository : PatientsRepository
addPatient()
public
addPatient(array<string|int, mixed> $data) : array<string|int, mixed>
Parameters
- $data : array<string|int, mixed>
Return values
array<string|int, mixed>addPill()
public
addPill(mixed $pill_id, mixed $paz_id) : mixed
Parameters
- $pill_id : mixed
- $paz_id : mixed
delPatient()
public
delPatient(mixed $paz_id) : mixed
Parameters
- $paz_id : mixed
delPill()
public
delPill(mixed $paz_id, mixed $ass_id) : mixed
Parameters
- $paz_id : mixed
- $ass_id : mixed