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