DeletePharmAction
in package
FinalYes
Action.
Table of Contents
Properties
Methods
- __construct() : mixed
- The constructor.
- __invoke() : ResponseInterface
- Action.
Properties
$dsmList
private
PharmList
$dsmList
$responder
private
Responder
$responder
Methods
__construct()
The constructor.
public
__construct(PharmList $pharmList, Responder $responder) : mixed
Parameters
__invoke()
Action.
public
__invoke(ServerRequestInterface $request, ResponseInterface $response, array<string|int, mixed> $args) : ResponseInterface
Parameters
- $request : ServerRequestInterface
-
The request
- $response : ResponseInterface
-
The response
- $args : array<string|int, mixed>
Return values
ResponseInterface —The response