Controller\ProfilerController (Bundle\WebProfilerBundle)
Symfony\Bundle\WebProfilerBundle\Controller\ProfilerController
class ProfilerController
ProfilerController.
Methods
__construct(UrlGeneratorInterface $generator, Profiler $profiler = null, Twig_Environment $twig, array $templates, string $toolbarPosition = 'normal') Constructor. | ||
RedirectResponse | homeAction() Redirects to the last profiles. | |
Response | panelAction(Request $request, string $token) Renders a profiler panel for the given token. | |
Response | infoAction(Request $request, string $about) Displays information page. | |
Response | toolbarAction(Request $request, string $token) Renders the Web Debug Toolbar. | |
Response | searchBarAction(Request $request) Renders the profiler search bar. | |
Response | searchResultsAction(Request $request, string $token) Renders the search results. | |
Response | searchAction(Request $request) Narrows the search bar. | |
Response | phpinfoAction() Displays the PHP info. |
Details
public __construct(UrlGeneratorInterface $generator, Profiler $profiler = null, Twig_Environment $twig, array $templates, string $toolbarPosition = 'normal')
Constructor.
public RedirectResponse homeAction()
Redirects to the last profiles.
public Response panelAction(Request $request, string $token)
Renders a profiler panel for the given token.
public Response infoAction(Request $request, string $about)
Displays information page.
public Response toolbarAction(Request $request, string $token)
Renders the Web Debug Toolbar.
public Response searchBarAction(Request $request)
Renders the profiler search bar.
public Response searchResultsAction(Request $request, string $token)
Renders the search results.
public Response searchAction(Request $request)
Narrows the search bar.
public Response phpinfoAction()
Displays the PHP info.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.html