ExceptionController

class ExceptionController

ExceptionController.

Methods

__construct(Profiler $profiler = null, Environment $twig, bool $debug)
Response showAction(string $token)

Renders the exception panel for the given token.

Response cssAction(string $token)

Renders the exception panel stylesheet for the given token.

Details

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

Parameters

Profiler $profiler
Environment $twig
bool $debug

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

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Bundle/WebProfilerBundle/Controller/ExceptionController.html