PHP 클래스 Zend\Stratigility\Middleware\ErrorResponseGenerator

파일 보기 프로젝트 열기: zendframework/zend-stratigility

공개 메소드들

메소드 설명
__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