Return the final handler to use during run() if the stack is exhausted.
public getFinalHandler ( Psr\Http\Message\ResponseInterface $response = null ) : callable | null | ||
$response | Psr\Http\Message\ResponseInterface | Response instance with which to seed the FinalHandler; used to determine if the response passed to the handler represents the original or final response state. |
return | callable | null |