W3cubDocs

/Symfony 2.8

Symfony\Bundle\WebProfilerBundle\Controller\ExceptionController

class ExceptionController

ExceptionController.

Methods

__construct(Profiler $profiler = null, Twig_Environment $twig, $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

public __construct(Profiler $profiler = null, Twig_Environment $twig, $debug)

Parameters

Profiler $profiler
Twig_Environment $twig
$debug

public 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

public 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–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.8/Symfony/Bundle/WebProfilerBundle/Controller/ExceptionController.html