UserDeleteAction
in package
FinalYes
Action.
Table of Contents
Properties
Methods
- __construct() : mixed
- The constructor.
- __invoke() : ResponseInterface
- Action.
Properties
$responder
private
Responder
$responder
$userDeleter
private
UserDeleter
$userDeleter
Methods
__construct()
The constructor.
public
__construct(UserDeleter $userDeleter, Responder $responder) : mixed
Parameters
- $userDeleter : UserDeleter
-
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