PreviewErrorController

class PreviewErrorController

PreviewErrorController can be used to test error pages.

It will create a test exception and forward it to another controller.

Methods

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

Details

__construct(HttpKernelInterface $kernel, $controller)

Parameters

HttpKernelInterface $kernel
$controller

previewErrorPageAction(Request $request, $code)

Parameters

Request $request
$code
doc_Symfony
2016-10-28 06:26:46
Comments
Leave a Comment

Please login to continue.