Spec-Zone.ru › Symfony 2.7

ProfilerController

класс ProfilerController

Методы

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

Перенаправляет на последние профили.

Response panelAction(Request $request, string $token)

Отображает панель профилирования для данного маркера.

Response purgeAction()

Очищает все маркеры.

Response infoAction(string $about)

Отображает страницу информации.

Response toolbarAction(Request $request, string $token)

Отображает панель инструментов Web Debug.

Response searchBarAction(Request $request)

Отображает строку поиска профилировщика.

Response searchResultsAction(Request $request, string $token)

Отображает результаты поиска.

Response searchAction(Request $request)

Сужает область поиска.

Response phpinfoAction()

Отображает информацию о PHP.

Подробности

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

Параметры

UrlGeneratorInterface $generator Генератор URL
Profiler $profiler Профилировщик
Environment $twig Среда twig
array $templates Шаблоны
string $toolbarPosition Положение панели инструментов (top, bottom, normal или null — использовать настройки)

RedirectResponse homeAction()

Перенаправляет на последние профили.

Значение возврата

RedirectResponse Экземпляр RedirectResponse

Исключения

NotFoundHttpException

Response panelAction(Request $request, string $token)

Отображает панель профилирования для данного токена.

Параметры

Request $request Текущий HTTP-запрос
string $token Токен профилирования

Значение возврата

Response Экземпляр Response

Исключения

NotFoundHttpException

Response purgeAction()

Очищает все токены.

Значение возврата

Response Экземпляр Response

Исключения

NotFoundHttpException

Response infoAction(string $about)

Отображает страницу информации.

Параметры

string $about Сообщение об информации

Значение возврата

Response Экземпляр Response

Исключения

NotFoundHttpException

Response toolbarAction(Request $request, string $token)

Отображает панель отладки Web Debug.

Параметры

Request $request Текущий HTTP-запрос
string $token Токен профилирования

Значение возврата

Response Экземпляр Response

Исключения

NotFoundHttpException

Response searchBarAction(Request $request)

Отображает строку поиска профилирования.

Параметры

Request $request

Значение возврата

Response Экземпляр Response

Исключения

NotFoundHttpException

Response searchResultsAction(Request $request, string $token)

Отображает результаты поиска.

Параметры

Request $request Текущий HTTP-запрос
string $token Токен

Значение возврата

Response Экземпляр Response

Исключения

NotFoundHttpException

Response searchAction(Request $request)

Уточняет строку поиска.

Параметры

Request $request

Значение возврата

Response Экземпляр Response

Исключения

NotFoundHttpException

Response phpinfoAction()

Отображает информацию о PHP.

Значение возврата

Response Экземпляр Response

Исключения

NotFoundHttpException

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Bundle/WebProfilerBundle/Controller/ProfilerController.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API