UpdatePatientAction
in package
FinalYes
Action.
Table of Contents
Properties
Methods
- __construct() : mixed
- __invoke() : ResponseInterface
- Action.
Properties
$repository
private
PatientsRepository
$repository
$responder
private
Responder
$responder
Methods
__construct()
public
__construct(PatientsRepository $repository, Responder $responder) : mixed
Parameters
- $repository : PatientsRepository
- $responder : Responder
__invoke()
Action.
public
__invoke(ServerRequestInterface $request, ResponseInterface $response) : ResponseInterface
Parameters
- $request : ServerRequestInterface
-
The request
- $response : ResponseInterface
-
The response
Return values
ResponseInterface —The response