W3cubDocs

/Symfony 4.1

RouterController

class RouterController

RouterController.

Methods

__construct(Profiler $profiler = null, Environment $twig, UrlMatcherInterface $matcher = null, RouteCollection $routes = null)
Response 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

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bundle/WebProfilerBundle/Controller/RouterController.html