class ProfilerController

ProfilerController.

Methods

__construct(UrlGeneratorInterface $generator, Profiler $profiler = null, Twig_Environment $twig, array $templates, string $toolbarPosition = 'normal')

Constructor.

homeAction()

Redirects to the last profiles.

panelAction(Request $request, string $token)

Renders a profiler panel for the given token.

infoAction(Request $request, string $about)

Displays information page.

toolbarAction(Request $request, string $token)

Renders the Web Debug Toolbar.

searchBarAction(Request $request)

Renders the profiler search bar.

searchResultsAction(Request $request, string $token)

Renders the search results.

searchAction(Request $request)

Narrows the search bar.

phpinfoAction()

Displays the PHP info.

Details

at line line 46
__construct(UrlGeneratorInterface $generator, Profiler $profiler = null, Twig_Environment $twig, array $templates, string $toolbarPosition = 'normal')

Constructor.

Parameters

UrlGeneratorInterface $generator The URL Generator
Profiler $profiler The profiler
Twig_Environment $twig The twig environment
array $templates The templates
string $toolbarPosition The toolbar position (top, bottom, normal, or null -- use the configuration)

at line line 62
RedirectResponse homeAction()

Redirects to the last profiles.

Return Value

RedirectResponse A RedirectResponse instance

Exceptions

NotFoundHttpException

at line line 83
Response panelAction(Request $request, string $token)

Renders a profiler panel for the given token.

Parameters

Request $request The current HTTP request
string $token The profiler token

Return Value

Response A Response instance

Exceptions

NotFoundHttpException

at line line 129
Response infoAction(Request $request, string $about)

Displays information page.

Parameters

Request $request The current HTTP Request
string $about The about message

Return Value

Response A Response instance

Exceptions

NotFoundHttpException

at line line 153
Response toolbarAction(Request $request, string $token)

Renders the Web Debug Toolbar.

Parameters

Request $request The current HTTP Request
string $token The profiler token

Return Value

Response A Response instance

Exceptions

NotFoundHttpException

at line line 208
Response searchBarAction(Request $request)

Renders the profiler search bar.

Parameters

Request $request The current HTTP Request

Return Value

Response A Response instance

Exceptions

NotFoundHttpException

at line line 260
Response searchResultsAction(Request $request, string $token)

Renders the search results.

Parameters

Request $request The current HTTP Request
string $token The token

Return Value

Response A Response instance

Exceptions

NotFoundHttpException

at line line 302
Response searchAction(Request $request)

Narrows the search bar.

Parameters

Request $request The current HTTP Request

Return Value

Response A Response instance

Exceptions

NotFoundHttpException

at line line 353
Response phpinfoAction()

Displays the PHP info.

Return Value

Response A Response instance

Exceptions

NotFoundHttpException