‪TYPO3CMS  10.4
TYPO3\CMS\Core\Tests\Functional\Fixtures\Frontend\PhpError Class Reference
Inheritance diagram for TYPO3\CMS\Core\Tests\Functional\Fixtures\Frontend\PhpError:
TYPO3\CMS\Core\Error\PageErrorHandler\PageErrorHandlerInterface

Public Member Functions

 __construct (int $statusCode, array $configuration)
 
ResponseInterface handlePageError (ServerRequestInterface $request, string $message, array $reasons=[])
 

Private Attributes

int $statusCode
 
array $configuration
 

Detailed Description

Test case for frontend requests without having site handling configured

Definition at line 28 of file PhpError.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Tests\Functional\Fixtures\Frontend\PhpError::__construct ( int  $statusCode,
array  $configuration 
)

Member Function Documentation

◆ handlePageError()

ResponseInterface TYPO3\CMS\Core\Tests\Functional\Fixtures\Frontend\PhpError::handlePageError ( ServerRequestInterface  $request,
string  $message,
array  $reasons = [] 
)
Parameters
ServerRequestInterface$request
string$message
array$reasons
Returns
‪ResponseInterface

Implements TYPO3\CMS\Core\Error\PageErrorHandler\PageErrorHandlerInterface.

Definition at line 54 of file PhpError.php.

Member Data Documentation

◆ $configuration

array TYPO3\CMS\Core\Tests\Functional\Fixtures\Frontend\PhpError::$configuration
private

◆ $statusCode

int TYPO3\CMS\Core\Tests\Functional\Fixtures\Frontend\PhpError::$statusCode
private