ReportDeleteAction
in package
FinalYes
Action.
Table of Contents
Properties
Methods
- __construct() : mixed
- The constructor.
- __invoke() : ResponseInterface
- Action.
Properties
$reportRepository
private
ReportRepository
$reportRepository
$responder
private
Responder
$responder
Methods
__construct()
The constructor.
public
__construct(ReportRepository $reportRepository, Responder $responder) : mixed
Parameters
- $reportRepository : ReportRepository
-
The service
- $responder : Responder
-
The responder
__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>
-
The routing arguments
Return values
ResponseInterface —The response