Zend\Expressive\WhoopsErrorHandler::__construct PHP Method

__construct() public method

public __construct ( Whoops\Run $whoops, PrettyPageHandler $whoopsHandler = null, Zend\Expressive\Template\TemplateRendererInterface $renderer = null, null | string $template404 = 'error/404', null | string $templateError = 'error/error', Psr\Http\Message\ResponseInterface $originalResponse = null )
$whoops Whoops\Run
$whoopsHandler Whoops\Handler\PrettyPageHandler
$renderer Zend\Expressive\Template\TemplateRendererInterface
$template404 null | string
$templateError null | string
$originalResponse Psr\Http\Message\ResponseInterface
    public function __construct(Whoops $whoops, PrettyPageHandler $whoopsHandler = null, Template\TemplateRendererInterface $renderer = null, $template404 = 'error/404', $templateError = 'error/error', Response $originalResponse = null)
    {
        $this->whoops = $whoops;
        $this->whoopsHandler = $whoopsHandler;
        parent::__construct($renderer, $template404, $templateError, $originalResponse);
    }