‪TYPO3CMS  ‪main
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)
 
 handlePageError (ServerRequestInterface $request, string $message, array $reasons=[])
 

Private Attributes

int $statusCode
 

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)

Member Function Documentation

◆ handlePageError()

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

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

Definition at line 37 of file PhpError.php.

Member Data Documentation

◆ $statusCode

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