class RouterController

RouterController.

Methods

__construct(Profiler $profiler = null, Environment $twig, UrlMatcherInterface $matcher = null, RouteCollection $routes = null)

No description

panelAction(string $token)

Renders the profiler panel for the given token.

Details

__construct(Profiler $profiler = null, Environment $twig, UrlMatcherInterface $matcher = null, RouteCollection $routes = null)

Parameters

Profiler $profiler
Environment $twig
UrlMatcherInterface $matcher
RouteCollection $routes

Response panelAction(string $token)

Renders the profiler panel for the given token.

Parameters

string $token The profiler token

Return Value

Response A Response instance

Exceptions

NotFoundHttpException