W3cubDocs

/Symfony 2.8

Symfony\Bundle\WebProfilerBundle\Controller\RouterController

class RouterController

RouterController.

Methods

__construct(Profiler $profiler = null, Twig_Environment $twig, UrlMatcherInterface $matcher = null, RouteCollection $routes = null)
Response panelAction(string $token)

Renders the profiler panel for the given token.

Details

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

Parameters

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

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