ExceptionController
class ExceptionController
ExceptionController.
Свойства
| protected | $twig | ||
| protected | $debug | ||
| protected | $profiler |
Методы
| __construct(Profiler $profiler = null, Environment $twig, bool $debug, FileLinkFormatter $fileLinkFormat = null) | ||
| Response | showAction(string $token) Отображает панель исключений для заданного маркера. | |
| Response | cssAction(string $token) Отображает таблицу стилей панели исключений для заданного маркера. | |
| getTemplate() | ||
| templateExists($template) |
Подробности
__construct(Profiler $profiler = null, Environment $twig, bool $debug, FileLinkFormatter $fileLinkFormat = null)
Параметры
| Profiler | $profiler | |
| Environment | $twig | |
| bool | $debug | |
| FileLinkFormatter | $fileLinkFormat |
Response showAction(string $token)
Отображает панель исключений для заданного маркера.
Параметры
| string | $token | Маркер профилирования |
Возвращаемое значение
| Response | Экземпляр Response |
Исключения
| NotFoundHttpException |
Response cssAction(string $token)
Отображает таблицу стилей панели исключений для заданного маркера.
Параметры
| string | $token | Маркер профилирования |
Возвращаемое значение
| Response | Экземпляр Response |
Исключения
| NotFoundHttpException |
protected getTemplate()
protected templateExists($template)
Параметры
| $template |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bundle/WebProfilerBundle/Controller/ExceptionController.html