Spec-Zone.ru › Symfony 4.0

ProfilerController

class ProfilerController

Methods

__construct(UrlGeneratorInterface $generator, Profiler $profiler = null, Environment $twig, array $templates, ContentSecurityPolicyHandler $cspHandler = null, string $baseDir = null)
RedirectResponse homeAction()

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

Response panelAction(Request $request, string $token)

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

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.

Response openAction(Request $request)

Отображает исходный код файла.

Details

__construct(UrlGeneratorInterface $generator, Profiler $profiler = null, Environment $twig, array $templates, ContentSecurityPolicyHandler $cspHandler = null, string $baseDir = null)

Параметры

UrlGeneratorInterface $generator
Profiler $profiler
Environment $twig
array $templates
ContentSecurityPolicyHandler $cspHandler
string $baseDir

RedirectResponse homeAction()

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

Возвращаемое значение

RedirectResponse Экземпляр RedirectResponse

Исключения

NotFoundHttpException

Response panelAction(Request $request, string $token)

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

Параметры

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

Возвращаемое значение

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

Ответ searchAction(Запрос $request)

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

Параметры

Запрос $request

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

Ответ Экземпляр Response

Исключения

NotFoundHttpException

Ответ phpinfoAction()

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

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

Ответ Экземпляр Response

Исключения

NotFoundHttpException

Ответ openAction(Запрос $request)

Отображает исходный код файла.

Параметры

Запрос $request

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

Ответ Экземпляр Response

Исключения

NotFoundHttpException

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

Spec-Zone.ru

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