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

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

Parameters

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

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

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

protected getTemplate()

protected templateExists($template)

Parameters

$template