com\setasign\SetaFramework\Helper

HtmlHelper

File: /SetaFramework/src/Helper/HtmlHelper.php

Class hierarchy

Summary

Static Methods

createErrorResponse()

public static HtmlHelper::createErrorResponse (
\com\setasign\SetaFramework\Http\HttpFactoryInterface $httpFactory,
int $statusCode,
string $reason,
string $message
): \Psr\Http\Message\ResponseInterface
Parameters
$httpFactory: \com\setasign\SetaFramework\Http\HttpFactoryInterface
 
$statusCode: int
 
$reason: string
 
$message: string
 

formatErrorPage()

public static HtmlHelper::formatErrorPage (
string $statusCode,
string $message
): string
Parameters
$statusCode: string
 
$message: string