Spec-Zone.ru › Symfony 4.1

PreviewErrorController

class PreviewErrorController

PreviewErrorController можно использовать для тестирования страниц ошибок.

Он создаст исключение для тестирования и передаст его другому контроллеру.

Свойства

protected $kernel
protected $controller

Методы

__construct(HttpKernelInterface $kernel, $controller)
previewErrorPageAction(Request $request, $code)

Подробности

__construct(HttpKernelInterface $kernel, $controller)

Параметры

HttpKernelInterface $kernel
$controller

previewErrorPageAction(Request $request, $code)

Параметры

Request $request
$code

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bundle/TwigBundle/Controller/PreviewErrorController.html

Spec-Zone.ru

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