ProfilerController
class ProfilerController
Methods
Details
__construct(UrlGeneratorInterface $generator, Profiler $profiler = null, Environment $twig, array $templates, ContentSecurityPolicyHandler $cspHandler = null, string $baseDir = null)
Parameters
Redirects to the last profiles.
Return Value
Exceptions
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
Exceptions
Renders the Web Debug Toolbar.
Parameters
Request | $request | The current HTTP Request |
string | $token | The profiler token |
Return Value
Exceptions
Renders the profiler search bar.
Parameters
Return Value
Exceptions
Response
searchResultsAction(Request $request, string $token)
Renders the search results.
Parameters
Request | $request | The current HTTP Request |
string | $token | The token |
Return Value
Exceptions
Narrows the search bar.
Parameters
Return Value
Exceptions
Displays the PHP info.
Return Value
Exceptions
Displays the source of a file.
Parameters
Return Value
Exceptions
protected TemplateManager
getTemplateManager()
Gets the Template Manager.
Return Value