When $catch is true, the implementation must catch all exceptions
and do its best to convert them to a Response instance.
public handle ( |
||
$request | A Request instance | |
$type | integer | The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST) |
$catch | boolean | Whether to catch exceptions or not |
return | Response | A Response instance |