PHP Класс Zend\Stratigility\Middleware\ErrorResponseGenerator

Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( boolean $isDevelopmentMode = false )
__invoke ( Throwabl\Throwable | Exceptio\Exception $e, Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response ) : Psr\Http\Message\ResponseInterface Create/update the response representing the error.

Описание методов

__construct() публичный Метод

public __construct ( boolean $isDevelopmentMode = false )
$isDevelopmentMode boolean

__invoke() публичный Метод

Create/update the response representing the error.
public __invoke ( Throwabl\Throwable | Exceptio\Exception $e, Psr\Http\Message\ServerRequestInterface $request, Psr\Http\Message\ResponseInterface $response ) : Psr\Http\Message\ResponseInterface
$e Throwabl\Throwable | Exceptio\Exception
$request Psr\Http\Message\ServerRequestInterface
$response Psr\Http\Message\ResponseInterface
Результат Psr\Http\Message\ResponseInterface