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