class ExceptionController

ExceptionController.

Properties

protected $twig
protected $debug
protected $profiler

Methods

__construct(Profiler $profiler = null, Environment $twig, bool $debug, FileLinkFormatter $fileLinkFormat = null)

No description

showAction(string $token)

Renders the exception panel for the given token.

cssAction(string $token)

Renders the exception panel stylesheet for the given token.

getTemplate()

No description

templateExists($template)

No description

Details

at line 35
__construct(Profiler $profiler = null, Environment $twig, bool $debug, FileLinkFormatter $fileLinkFormat = null)

Parameters

Profiler $profiler
Environment $twig
bool $debug
FileLinkFormatter $fileLinkFormat

at line 52
Response showAction(string $token)

Renders the exception panel for the given token.

Parameters

string $token The profiler token

Return Value

Response A Response instance

Exceptions

NotFoundHttpException

at line 92
Response cssAction(string $token)

Renders the exception panel stylesheet for the given token.

Parameters

string $token The profiler token

Return Value

Response A Response instance

Exceptions

NotFoundHttpException

at line 112
protected getTemplate()

at line 118
protected templateExists($template)

Parameters

$template