Documentation

TwigErrorRenderer
in package
implements ErrorRendererInterface

Provides the ability to render custom Twig-based HTML error pages in non-debug mode, otherwise falls back to HtmlErrorRenderer.

Tags
author

Yonel Ceruto yonelceruto@gmail.com

Table of Contents

Interfaces

ErrorRendererInterface
Formats an exception to be used as response content.

Properties

$debug  : Closure|bool
$fallbackErrorRenderer  : mixed
$twig  : mixed

Methods

__construct()  : mixed
isDebug()  : Closure
render()  : FlattenException
Renders a Throwable as a FlattenException.
findTemplate()  : string|null

Properties

Methods

findTemplate()

private findTemplate(int $statusCode) : string|null
Parameters
$statusCode : int
Return values
string|null

        
On this page

Search results