Documentation

IController

Table of Contents

Methods

generateResponse()  : ResponseInterface

Methods

generateResponse()

public generateResponse(ServerRequestInterface $request, array<string, string> $serverParams) : ResponseInterface
Parameters
$request : ServerRequestInterface
$serverParams : array<string, string>
Tags
todo

$serverParams was added so that the error could passed to and displayed by the error page, but actually it might have sufficed to have created an IErrorController interface or something like it.

Return values
ResponseInterface
On this page

Search results