Equip\Handler\ActionHandler::handle PHP Method

handle() private method

Use the action collaborators to get a response.
private handle ( Action $action, Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response ) : Psr\Http\Message\ResponseInterface
$action Equip\Action
$request Psr\Http\Message\ServerRequestInterface
$response Psr\Http\Message\ResponseInterface
return Psr\Http\Message\ResponseInterface
    private function handle(Action $action, ServerRequestInterface $request, ResponseInterface $response)
    {
        $domain = $this->resolve($action->getDomain());
        $input = $this->resolve($action->getInput());
        $responder = $this->resolve($action->getResponder());
        $payload = $this->payload($domain, $input, $request);
        $response = $this->response($responder, $request, $response, $payload);
        return $response;
    }