AddObjectiveAction
in package
FinalYes
Action.
Table of Contents
Properties
Methods
- __construct() : mixed
- __invoke() : ResponseInterface
- Action.
Properties
$objectiveRepository
private
ObjectiveRepository
$objectiveRepository
$responder
private
Responder
$responder
Methods
__construct()
public
__construct(ObjectiveRepository $obiettiviRepository, Responder $responder) : mixed
Parameters
- $obiettiviRepository : ObjectiveRepository
- $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