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