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